Skip to content

ci: keep uv.lock in step with the version bump - #7

Merged
eliasbiondo merged 1 commit into
mainfrom
ci/release-lockfile
Oct 24, 2026
Merged

eliasbiondo merged 1 commit into
mainfrom
ci/release-lockfile

Conversation

@eliasbiondo

Copy link
Copy Markdown
Owner

The release after #5 failed at git pull --rebase (cannot pull with rebase: You have unstaged changes): the workflow bumps pyproject.toml but not uv.lock, so uv sync rewrote the lockfile in the runner. The bump step now runs uv lock, commits uv.lock with pyproject.toml, and pulls with --autostash. Nothing was tagged or published by the failed run.

The release bumped pyproject.toml but not uv.lock, so uv sync in the next release rewrote the
lockfile and git pull --rebase refused to run on the dirty tree (the 0.2.1 release failed this
way). The bump now relocks and commits uv.lock with pyproject.toml, and the pull autostashes.
@eliasbiondo
eliasbiondo merged commit c95a064 into main Oct 24, 2026
2 checks passed
@eliasbiondo
eliasbiondo deleted the ci/release-lockfile branch October 24, 2026 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant