From 2e7c2be11e868c42c0bd6d1416470e8cf0e91545 Mon Sep 17 00:00:00 2001
From: Gwilym Kuiper <gw@ilym.me>
Date: Sun, 15 Aug 2021 23:16:30 +0100
Subject: [PATCH] Get the booleans correct

---
 release.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/release.sh b/release.sh
index 0c6e6522..ac66b45b 100755
--- a/release.sh
+++ b/release.sh
@@ -20,7 +20,7 @@ if [ ! "$(echo "$VERSION" | grep -E "^[0-9]+\.[0-9]+\.[0-9]+$")" ]; then
 fi
 
 # Check if no commit option is valid
-if [ ! "$NO_COMMIT" = "" ] || [ ! "$NO_COMMIT" = "--no-commit" ]; then
+if [ ! "$NO_COMMIT" = "" ] && [ ! "$NO_COMMIT" = "--no-commit" ]; then
     echo "Must pass either no last argument or --no-commit"
     exit 1
 fi