This commit is contained in:
Paul Gauthier 2024-11-21 12:22:55 -08:00
parent c4e4bc71ed
commit 1ed48de928

View file

@ -109,11 +109,14 @@ 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}"],