Use HEAD
This commit is contained in:
parent
90a14d58bd
commit
afa221bb45
@ -7,7 +7,7 @@ whoami
|
|||||||
fetch_ci_env() {
|
fetch_ci_env() {
|
||||||
# Clone gh-ost-ci-env
|
# Clone gh-ost-ci-env
|
||||||
# Only clone if not already running locally at latest commit
|
# Only clone if not already running locally at latest commit
|
||||||
remote_commit=$(git ls-remote https://github.com/github/gh-ost-ci-env.git tar-xz-binaries | cut -f1)
|
remote_commit=$(git ls-remote https://github.com/github/gh-ost-ci-env.git HEAD | cut -f1)
|
||||||
local_commit="unknown"
|
local_commit="unknown"
|
||||||
[ -d "gh-ost-ci-env" ] && local_commit=$(cd gh-ost-ci-env && git log --format="%H" -n 1)
|
[ -d "gh-ost-ci-env" ] && local_commit=$(cd gh-ost-ci-env && git log --format="%H" -n 1)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user