From 01a1d666e5bc8c6ed2d9e299614acb52553af435 Mon Sep 17 00:00:00 2001 From: Simon Ungar Felding <45149055+simonfelding@users.noreply.github.com> Date: Mon, 17 Feb 2025 18:48:38 +0100 Subject: [PATCH] fix update check --- update-check.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/update-check.py b/update-check.py index 01ce65c..19666d6 100644 --- a/update-check.py +++ b/update-check.py @@ -23,10 +23,9 @@ git("add -A") if git("diff --cached --quiet") == 0: # Returns 0 if there are no changes print("Version didn't change") - exit(1) + exit(0) git(f"commit -m 'Bump version to {version}'") - is_pull_request = sys.argv[1] == "true" if is_pull_request: