From 21d4f207409cebac2491d77cda2506909e5f3539 Mon Sep 17 00:00:00 2001 From: Quinten Stokkink Date: Wed, 23 Oct 2024 13:43:15 +0200 Subject: [PATCH] Fixed GitHub increment version not pushing to correct remote --- github_increment_version.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/github_increment_version.py b/github_increment_version.py index af6af27e9..e086a7e8b 100644 --- a/github_increment_version.py +++ b/github_increment_version.py @@ -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"))