From 5cb9b242e224dfa7762e378ac967dc6a1ebfe4bf Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 21 Nov 2024 12:25:17 -0800 Subject: [PATCH] debug --- scripts/versionbump.py | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/scripts/versionbump.py b/scripts/versionbump.py index 85cf4461f..018d238a1 100755 --- a/scripts/versionbump.py +++ b/scripts/versionbump.py @@ -109,14 +109,11 @@ def main(): 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}"], @@ -129,10 +126,6 @@ def main(): if not dry_run: subprocess.run( cmd, - text=True, - # shell=True, - encoding="utf-8", - errors="replace", check=True, )