From 75a5609b236a4adef477cda99035eebb84d57493 Mon Sep 17 00:00:00 2001 From: bherbruck Date: Mon, 12 Oct 2026 13:43:42 -0400 Subject: [PATCH] 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 --- docs/releasing.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/releasing.md b/docs/releasing.md index a2fbba21..28276f8c 100644 --- a/docs/releasing.md +++ b/docs/releasing.md @@ -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`.