From: Raphaƫl Jakse Date: Wed, 15 Apr 2020 20:27:08 +0000 (+0200) Subject: Fix git status check when upgrading the production X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=fe5b31218102cb5a0d4541b0a9b4200f0c0ef962;p=trivabble.git Fix git status check when upgrading the production --- diff --git a/bin/upgrade-prod.sh b/bin/upgrade-prod.sh index c52de1b..c4f3409 100755 --- a/bin/upgrade-prod.sh +++ b/bin/upgrade-prod.sh @@ -35,7 +35,7 @@ if [ -f "$WORKING_DIRECTORY/games.backup.json" ]; then error "Your working copy has a 'games.backup.json' file. I give up." fi -if [ -z "$(git status --porcelain)" ]; then +if ! [ -z "$(git status --porcelain)" ]; then error "Your git repository is not clean. I am not doing anything." fi