Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-gauthier committed Nov 21, 2024
1 parent c4e4bc7 commit 1ed48de
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scripts/versionbump.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"],
Expand Down

0 comments on commit 1ed48de

Please sign in to comment.