Fix missing update from uv.lock during release process

This commit is contained in:
Bruno Alla 2024-12-31 09:48:07 +00:00
parent e3929b15e4
commit cd8380d982

View File

@ -53,10 +53,11 @@ def main() -> None:
print(f"Updated version in {setup_py_path}")
# Run uv lock
subprocess.run(["uv", "lock"], cwd=ROOT)
uv_lock_path = ROOT / "uv.lock"
subprocess.run(["uv", "lock", "--no-upgrade"], cwd=ROOT)
# Commit changes, create tag and push
update_git_repo([changelog_path, setup_py_path], release)
update_git_repo([changelog_path, setup_py_path, uv_lock_path], release)
# Create GitHub release
github_release = repo.create_git_release(