From ae746112b1a42dccef6c122f9544ba42ddc58611 Mon Sep 17 00:00:00 2001 From: Shlomi Noach Date: Tue, 27 Feb 2018 13:39:19 +0200 Subject: [PATCH] more verbose --- script/cibuild-gh-ost-replica-tests | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/script/cibuild-gh-ost-replica-tests b/script/cibuild-gh-ost-replica-tests index 3cf43f6..cc19e77 100755 --- a/script/cibuild-gh-ost-replica-tests +++ b/script/cibuild-gh-ost-replica-tests @@ -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