mirror of
https://github.com/shenxn/protonmail-bridge-docker.git
synced 2025-12-06 08:27:08 +00:00
fix update check
This commit is contained in:
parent
b0c28f66a5
commit
01a1d666e5
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user