ci(release): include uv.lock in release-please updates#118
Merged
Conversation
Add uv.lock to release-please extra-files so the lockfile version is updated alongside pyproject.toml during releases. This prevents version drift between the published package and the lockfile. - Add generic updater for uv.lock in release-please config - Update uv.lock to reflect current version (2.1.1)
Contributor
There was a problem hiding this comment.
Pull request overview
This PR configures release-please to automatically update the uv.lock file during releases, preventing version drift between the published package and the lockfile. It also brings the lockfile up to date with the current version (2.1.1).
Changes:
- Adds
uv.lockto release-please'sextra-filesconfiguration with typegeneric - Updates version in
uv.lockfrom 2.0.0 to 2.1.1 to match current package version
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.release-please-config.json |
Adds extra-files configuration to include uv.lock in automated version updates |
uv.lock |
Updates package version from 2.0.0 to 2.1.1 to align with current release |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This prevents version drift between the published package and the lockfile. Previously, uv.lock was not updated during releases, causing
uv syncto show a diff after checking out the latest main branch.Test plan
Summary by cubic
Make release-please update uv.lock during releases to keep the lockfile in sync and avoid version drift. Updated uv.lock to 2.1.1 to match the package version.
Written for commit 238a152. Summary will update on new commits.