Skip to content

Commit 06f4eac

Browse files
committed
docs(dev-guide): mention snapshot updating in release process
1 parent 1776933 commit 06f4eac

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

doc/dev-guide/src/release-process.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,14 @@ or an official [r]elease:
3535
If all looks well, make a commit.
3636
2. Update `CHANGELOG.md` accordingly if necessary.
3737
2. [b/r] After merging the PR made in step 1, in a separate PR:
38-
1. Update the commit shasum in `rustup-init.sh` to match the latest commit
39-
on `main`.
38+
1. Update `rustup-init.sh` so that:
39+
- The version number matches `$VER_NUM`.
40+
- The commit shasum matches the latest commit on `main`.
41+
2. Update the test snapshot of `rustup-init.sh --help`.
42+
At the moment of writing, this is done by running:
43+
```console
44+
$ SNAPSHOTS=overwrite cargo test --features=test -- cli_rustup_init_ui
45+
```
4046
3. [b/r] After merging the PR made in step 2, sync `main` to `stable` using
4147
`--ff-only`:
4248
- `git fetch origin main:main`

0 commit comments

Comments
 (0)