Skip to content

Commit

Permalink
sanity
Browse files Browse the repository at this point in the history
  • Loading branch information
Shlomi Noach committed Feb 27, 2018
1 parent ae74611 commit 6c1d502
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script/cibuild-gh-ost-replica-tests
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ whoami
# 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 HEAD | cut -f1)
local_commit=$(cd gh-ost-ci-env && git log --format="%H" -n 1)
local_commit="unknown"
[ -d "gh-ost-ci-env" ] && local_commit=$(cd gh-ost-ci-env && git log --format="%H" -n 1)

echo "remote commit is $remote_commit"
echo "local commit is $local_commit"
Expand Down

0 comments on commit 6c1d502

Please sign in to comment.