Skip to content

Commit

Permalink
fix update check
Browse files Browse the repository at this point in the history
  • Loading branch information
simonfelding committed Feb 17, 2025
1 parent 2eab79f commit f80819c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions update-check.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ def git(command):

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:
Expand Down

0 comments on commit f80819c

Please sign in to comment.