From 955b99be8f91a3d21838318e007113a9c0118d6d Mon Sep 17 00:00:00 2001 From: Gwilym Kuiper Date: Sun, 3 Jul 2022 18:14:25 +0100 Subject: [PATCH] Booleans are hard --- release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.sh b/release.sh index a2d4b203..2461de5e 100755 --- a/release.sh +++ b/release.sh @@ -33,7 +33,7 @@ function maybe_git() { } # Check that no out-standing changes in git -if [ ! "$NO_COMMIT" = "" ] && [ -n "$(git status --porcelain)" ]; then +if [ "$NO_COMMIT" = "" ] && [ -n "$(git status --porcelain)" ]; then echo "Uncommitted changes, please commit first" exit 1 fi