From 1ed48de9286d3dd367b21294b53c6ce46cadfa79 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 21 Nov 2024 12:22:55 -0800 Subject: [PATCH] wip --- scripts/versionbump.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/versionbump.py b/scripts/versionbump.py index a53d6441f8..85cf4461f1 100755 --- a/scripts/versionbump.py +++ b/scripts/versionbump.py @@ -109,11 +109,14 @@ def check_main_branch_up_to_date(): print("Updating aider/__init__.py with new version:") print(updated_content) - if not dry_run: - with open("aider/__init__.py", "w") as f: - f.write(updated_content) + # if not dry_run: + # with open("aider/__init__.py", "w") as f: + # f.write(updated_content) git_commands = [ + ["git", "push", "origin"], + ] + [ ["git", "add", "aider/__init__.py"], ["git", "commit", "-m", f"version bump to {new_version}"], ["git", "tag", f"v{new_version}"],