mirror of
https://github.com/shenxn/protonmail-bridge-docker.git
synced 2025-12-06 08:27:08 +00:00
Improve update check
This commit is contained in:
parent
a470481de1
commit
28844b308b
@ -29,7 +29,7 @@ def check_version(directory, new_version):
|
||||
f.write(new_version)
|
||||
# commit
|
||||
result = os.system(f"git config --local user.email 'actions@github.com' \
|
||||
&& git config --local user.name 'Github Action' \
|
||||
&& git config --local user.name 'GitHub Actions' \
|
||||
&& git add {directory}/VERSION \
|
||||
&& git commit -m 'Bump {directory} version to {new_version}'")
|
||||
if result != 0:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user