From fe5b31218102cb5a0d4541b0a9b4200f0c0ef962 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Jakse?= Date: Wed, 15 Apr 2020 22:27:08 +0200 Subject: [PATCH] Fix git status check when upgrading the production --- bin/upgrade-prod.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2