Skip to content

Commit 33f32b0

Browse files
authored
Fix missing update from uv.lock during release process (cookiecutter#5611)
1 parent 7e0f4c1 commit 33f32b0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: scripts/update_changelog.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,11 @@ def main() -> None:
5353
print(f"Updated version in {setup_py_path}")
5454

5555
# Run uv lock
56-
subprocess.run(["uv", "lock"], cwd=ROOT)
56+
uv_lock_path = ROOT / "uv.lock"
57+
subprocess.run(["uv", "lock", "--no-upgrade"], cwd=ROOT)
5758

5859
# Commit changes, create tag and push
59-
update_git_repo([changelog_path, setup_py_path], release)
60+
update_git_repo([changelog_path, setup_py_path, uv_lock_path], release)
6061

6162
# Create GitHub release
6263
github_release = repo.create_git_release(

0 commit comments

Comments
 (0)