Co-authored-by: Quentin Torroba <quentin.torroba@mistral.ai>
Co-authored-by: vans <vans@gmail.com>
Co-authored-by: Xing Shi Cai <newptcai@tutanota.com>
Co-authored-by: yihong0618 <zouzou0208@gmail.com>
Co-authored-by: Torbjørn Bang <torbjorn@bang.dev>
This commit is contained in:
Mathias Gesbert 2025-12-10 11:10:51 +01:00 committed by Quentin
parent fc1817caa5
commit cf54a4733f
13 changed files with 259 additions and 35 deletions

View file

@ -124,10 +124,25 @@ Examples:
(f"-{current_version}.zip", f"-{new_version}.zip"),
],
)
# Update .vscode/launch.json
update_hard_values_files(
".vscode/launch.json",
[(f'"version": "{current_version}"', f'"version": "{new_version}"')],
)
# Update vibe/core/__init__.py
update_hard_values_files(
"vibe/core/__init__.py",
[(f'__version__ = "{current_version}"', f'__version__ = "{new_version}"')],
)
# Update tests/acp/test_acp.py
update_hard_values_files(
"tests/acp/test_acp.py",
[(f'version="{current_version}"', f'version="{new_version}"')],
)
subprocess.run(["uv", "lock"], check=True)
print(f"Successfully bumped version from {current_version} to {new_version}")
print(f"\nSuccessfully bumped version from {current_version} to {new_version}")
except Exception as e:
print(f"Error: {e}", file=sys.stderr)