mirror of
https://github.com/ArtemSBulgakov/buildozer-action.git
synced 2024-08-16 10:09:52 +02:00
Run git pull in move_binary.py
This commit is contained in:
parent
fbd6553c7d
commit
bfa7332591
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ shutil.copy(binary_filename, os.path.join(directory, filename))
|
|||
# Push changes
|
||||
subprocess.check_call(["git", "config", "user.name", author_name])
|
||||
subprocess.check_call(["git", "config", "user.email", author_email])
|
||||
subprocess.check_call(["git", "pull"]) # Ensure that there is no changes
|
||||
subprocess.check_call(["git", "add", os.path.join(directory, filename)])
|
||||
subprocess.check_call(["git", "commit", "-m", f"Add binary for {commit_hash}: \"{commit_subject}\""])
|
||||
subprocess.check_call(["git", "push"])
|
||||
|
|
Loading…
Reference in a new issue