fix update check
This commit is contained in:
parent
b0c28f66a5
commit
01a1d666e5
1 changed files with 1 additions and 2 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue