From 32ea0508cfbc3c5f178b8630e02e9e20a683e406 Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Thu, 14 Jan 2016 22:49:31 +0100 Subject: [PATCH] _build/github-deploy.sh: Fix exit code on conflicting remote commit --- _build/github-deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_build/github-deploy.sh b/_build/github-deploy.sh index bfe32b9..fe62123 100755 --- a/_build/github-deploy.sh +++ b/_build/github-deploy.sh @@ -57,7 +57,7 @@ if [ -n "$CHECK_REPO_SLUG" ] && [ -n "$CHECK_REMOTE_REF" ] && [ -n "$CHECK_LOCAL # compare source reference against the latest commit if [ "$CHECK_REMOTE_COMMIT" != "$CHECK_LOCAL_COMMIT" ]; then echo "Latest local commit '$CHECK_LOCAL_COMMIT' doesn't match latest remote commit '$CHECK_REMOTE_COMMIT'; aborting..." >&2 - exit 0 + exit 1 fi echo