docs/releasing.md: refresh Cargo.lock with cargo update --workspace --offline (#348)
Claude-Session: https://claude.ai/code/session_01RjGw4gA5ZvKrU8MQP6sBgT Co-authored-by: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
fc8a5b21cf
commit
75a5609b23
1 file changed
+3
-2
+3
-2
@@ -52,8 +52,9 @@ deployment. The stable Flatpak repository is not automatically updated with nigh
|
||||
Documentation-only changes normally wait for the next release. State the reason for the
|
||||
chosen bump in the release notes. Follow any version or release scope specified by the owner.
|
||||
2. Update `[workspace.package] version` in root `Cargo.toml`. Then run
|
||||
`cargo metadata --format-version 1 --no-deps > /dev/null` to refresh workspace package
|
||||
versions in `Cargo.lock`. Inspect the diff and keep unrelated dependency changes out.
|
||||
`cargo update --workspace --offline` to refresh the workspace packages' versions in
|
||||
`Cargo.lock` (it changes only our own crates, never dependency versions, and needs no
|
||||
network). Inspect the diff: only `version = ` lines of workspace crates should change.
|
||||
SolidCraft does not currently implement `cargo xtask version set`.
|
||||
3. Run `cargo xtask ci` and the packaging checks in `.github/workflows/packaging-lint.yml`.
|
||||
Commit the version files through the normal review flow and land them on `main`.
|
||||
|
||||
Reference in new issue
Block a user