Repository navigation
chore(release): add Cargo.lock updater to release-please config - #169
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #169 +/- ##
=======================================
Coverage 95.27% 95.27%
=======================================
Files 124 124
Lines 61312 61312
=======================================
Hits 58412 58412
Misses 2900 2900 🚀 New features to boost your workflow:
|
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
Cargo.lockGenericToml updater torelease-please-config.jsonso every release PR bumps the 10 source-less workspace packages inCargo.lockalongsideCargo.toml/version.txt.Cargo.lock's local packages behind, drifting the lockfile every release (observed at 0.40.1 → 0.40.2, would recur at 0.40.3).Change
extra-filesgains:{ "type": "toml", "path": "Cargo.lock", "jsonpath": "$.package[?(!@.source)].version" }sourcefield); registry deps are untouched.Verification
Cargo.lock.Cargo.locksynced.