Skip to content

Commit 17299bc

Browse files
committed
ci: regenerate uv.lock on release and backfill to 1.6.1
semantic-release bumped only pyproject.toml, leaving uv.lock's project version stale (drifted to 1.6.0 while the project was at 1.6.1). Add 'uv lock' as the build_command and include uv.lock in the release commit via assets so the lockfile stays in sync on every release. Also backfill the current uv.lock to 1.6.1.
1 parent a515212 commit 17299bc

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ fail_under = 96
7070
[tool.semantic_release]
7171
version_toml = ["pyproject.toml:project.version"]
7272
commit_message = "chore(release): v{version}"
73-
build_command = ""
73+
build_command = "uv lock"
74+
assets = ["uv.lock"]
7475

7576
[tool.semantic_release.changelog]
7677
template_dir = "templates"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)