Skip to content

Commit

Permalink
.circleci: Remove quotes from --git-dir
Browse files Browse the repository at this point in the history
git doesn't handle the escapes correctly so let's just not put them
altogether.

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
  • Loading branch information
seemethere committed Mar 19, 2020
1 parent 0b3d2f7 commit bcd3f6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/scripts/binary_populate_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ BASE_BUILD_VERSION="1.5.0.dev$DATE"
# Change BASE_BUILD_VERSION to git tag when on a git tag
# Use 'git -C' to make doubly sure we're in the correct directory for checking
# the git tag
GIT_DESCRIBE="git --git-dir '${workdir}/pytorch/.git' describe"
GIT_DESCRIBE="git --git-dir ${workdir}/pytorch/.git describe"
if ${GIT_DESCRIBE} --tags --exact >/dev/null; then
# Switch upload folder to 'test/' if we are on a tag
PIP_UPLOAD_FOLDER='test/'
Expand Down

0 comments on commit bcd3f6d

Please sign in to comment.