Skip to content

Commit

Permalink
Fix missing update from uv.lock during release process (#5611)
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke authored Dec 31, 2024
1 parent 7e0f4c1 commit 33f32b0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/update_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 33f32b0

Please sign in to comment.