amend(): greater than should be equal

This commit is contained in:
Ibby 2017-03-22 22:42:21 -04:00
parent bb4308e7d8
commit 027b10a6dd

View File

@ -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"