mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 04:14:59 +00:00
debug
This commit is contained in:
parent
1ed48de928
commit
5cb9b242e2
1 changed files with 3 additions and 10 deletions
|
@ -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,
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue