text align
This commit is contained in:
parent
6c1d502516
commit
994304d914
@ -10,8 +10,8 @@ remote_commit=$(git ls-remote https://github.com/github/gh-ost-ci-env.git HEAD |
|
|||||||
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)
|
||||||
|
|
||||||
echo "remote commit is $remote_commit"
|
echo "remote commit is: $remote_commit"
|
||||||
echo "local commit is $local_commit"
|
echo "local commit is: $local_commit"
|
||||||
|
|
||||||
if [ "$remote_commit" != "$local_commit" ] ; then
|
if [ "$remote_commit" != "$local_commit" ] ; then
|
||||||
rm -rf ./gh-ost-ci-env
|
rm -rf ./gh-ost-ci-env
|
||||||
|
Loading…
Reference in New Issue
Block a user