Skip to content

Commit

Permalink
Fixed GitHub increment version not pushing to correct remote
Browse files Browse the repository at this point in the history
  • Loading branch information
qstokkink committed Oct 23, 2024
1 parent 327f6cb commit 21d4f20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion github_increment_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,8 @@ def modify_rest_manager(file_contents: str, element: ast.Constant, new_version_t
print(subprocess.check_output("git add doc/conf.py", encoding="utf-8"))
print(subprocess.check_output("git add ipv8/REST/rest_manager.py", encoding="utf-8"))
print(subprocess.check_output('git commit -m "Automated version increment"', encoding="utf-8"))
print(subprocess.check_output(f"git push -f -u __{username} automated_version_update", encoding="utf-8"))
print(subprocess.check_output(f"git push -f -u __{username} __automated_version_update:automated_version_update",
encoding="utf-8"))

# > Cleanup
print(subprocess.check_output(f"git checkout {original_branch}", encoding="utf-8"))
Expand Down

0 comments on commit 21d4f20

Please sign in to comment.