From afa221bb45a5d0c8065c78be63b0d2696267c225 Mon Sep 17 00:00:00 2001 From: Tim Vaillancourt Date: Fri, 7 May 2021 22:38:25 +0200 Subject: [PATCH] Use HEAD --- script/cibuild-gh-ost-replica-tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/cibuild-gh-ost-replica-tests b/script/cibuild-gh-ost-replica-tests index 237c483..161fc99 100755 --- a/script/cibuild-gh-ost-replica-tests +++ b/script/cibuild-gh-ost-replica-tests @@ -7,7 +7,7 @@ whoami fetch_ci_env() { # Clone gh-ost-ci-env # 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" [ -d "gh-ost-ci-env" ] && local_commit=$(cd gh-ost-ci-env && git log --format="%H" -n 1)