From 24b0ddb72cde1292c397826c04eaf4709a79366c Mon Sep 17 00:00:00 2001 From: rami3l Date: Sat, 13 Dec 2025 23:25:03 +0100 Subject: [PATCH] docs(dev-guide): mention snapshot updating in release process --- doc/dev-guide/src/release-process.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/doc/dev-guide/src/release-process.md b/doc/dev-guide/src/release-process.md index 067b86dd4a..600f3052dc 100644 --- a/doc/dev-guide/src/release-process.md +++ b/doc/dev-guide/src/release-process.md @@ -35,8 +35,14 @@ or an official [r]elease: If all looks well, make a commit. 2. Update `CHANGELOG.md` accordingly if necessary. 2. [b/r] After merging the PR made in step 1, in a separate PR: - 1. Update the commit shasum in `rustup-init.sh` to match the latest commit - on `main`. + 1. Update `rustup-init.sh` so that: + - The version number matches `$VER_NUM`. + - The commit shasum matches the latest commit on `main`. + 2. Update the test snapshot of `rustup-init.sh --help`. + At the moment of writing, this is done by running: + ```console + $ SNAPSHOTS=overwrite cargo test --features=test -- cli_rustup_init_ui + ``` 3. [b/r] After merging the PR made in step 2, sync `main` to `stable` using `--ff-only`: - `git fetch origin main:main`