more verbose

This commit is contained in:
Shlomi Noach 2018-02-27 13:39:19 +02:00
parent 813f99fd91
commit ae746112b1

View File

@ -8,6 +8,10 @@ whoami
# 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)
echo "remote commit is $remote_commit"
echo "local commit is $local_commit"
if [ "$remote_commit" != "$local_commit" ] ; then
rm -rf ./gh-ost-ci-env
git clone https://github.com/github/gh-ost-ci-env.git