Fix missing update from uv.lock during release process (#5611)

This commit is contained in:
Bruno Alla 2024-12-31 09:57:53 +00:00 committed by GitHub
parent 7e0f4c165d
commit 33f32b06d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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(