From 027b10a6ddfc72d6cd7db097436d97e169e10708 Mon Sep 17 00:00:00 2001 From: Ibby Date: Wed, 22 Mar 2017 22:42:21 -0400 Subject: [PATCH] amend(): greater than should be equal --- scripts/docs/update_docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/docs/update_docs.sh b/scripts/docs/update_docs.sh index 492b9bc36..d3c81e0b5 100755 --- a/scripts/docs/update_docs.sh +++ b/scripts/docs/update_docs.sh @@ -28,7 +28,7 @@ function run { # if no changes, don't commit CHANGED=$(git diff-index --name-only HEAD 2>/dev/null | wc -l) - if [ $CHANGED -gt 0 ]; + if [ $CHANGED -eq 0 ]; then echo "-- No changes detected for the following commit, docs not updated." echo "https://github.com/driftyco/$CIRCLE_PROJECT_REPONAME/commit/$CIRCLE_SHA1"