Skip to content

Commit 6dd9f5d

Browse files
Kobzoldjc
authored andcommitted
Remove hardcoded dependency to the master branch
1 parent 71a541d commit 6dd9f5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/fetch-rust-docker.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ case "$TARGET" in
4949
*) exit ;;
5050
esac
5151

52-
master=$(git ls-remote "$RUST_REPO" refs/heads/master | cut -f1)
52+
master=$(git ls-remote "$RUST_REPO" HEAD | cut -f1)
5353
image_url="$ARTIFACTS_BASE_URL/$master/image-$image.txt"
5454
info="/tmp/image-$image.txt"
5555

0 commit comments

Comments
 (0)