fix update check

This commit is contained in:
Simon Ungar Felding 2025-02-17 18:48:38 +01:00
parent b0c28f66a5
commit 01a1d666e5

View File

@ -23,10 +23,9 @@ git("add -A")
if git("diff --cached --quiet") == 0: # Returns 0 if there are no changes if git("diff --cached --quiet") == 0: # Returns 0 if there are no changes
print("Version didn't change") print("Version didn't change")
exit(1) exit(0)
git(f"commit -m 'Bump version to {version}'") git(f"commit -m 'Bump version to {version}'")
is_pull_request = sys.argv[1] == "true" is_pull_request = sys.argv[1] == "true"
if is_pull_request: if is_pull_request: