@@ -11,7 +11,12 @@ Mark it as `rollup=never`, because if it lands in a rollup as *not* the first
11
11
PR then other pull requests in that rollup will be incorrectly associated with
12
12
the prior release.
13
13
14
- ## Promote beta to stable (T-3 days, Monday)
14
+ ## Promote branches (T-3 days, Monday)
15
+
16
+ Both promotions should happen on Monday. You can open both PRs at the same
17
+ time, but make sure the stable promotion lands first.
18
+
19
+ ### Beta to stable
15
20
16
21
Temporarily turn off GitHub branch protection for the ` stable ` branch in
17
22
rust-lang/rust repo. In your local Rust repo:
@@ -47,7 +52,7 @@ Test rustup with:
47
52
RUSTUP_DIST_SERVER=https://dev-static.rust-lang.org rustup update stable
48
53
```
49
54
50
- ## Promote master to beta (T-2 days, Tuesday)
55
+ ### Master to beta
51
56
52
57
Gather the relevant information and push the new Cargo branch:
53
58
@@ -63,29 +68,21 @@ git push
[email protected] :rust-lang/cargo rust-$NEW_BETA_VERSION
63
68
```
64
69
65
70
Temporarily disable banch protection on GitHub for the ` beta ` branch of the Rust
66
- repo. Promote rust-lang/rust's master branch to beta as with yesterday :
71
+ repo. Promote rust-lang/rust's master branch to beta as you did for stable :
67
72
68
73
``` sh
69
74
git push
[email protected] :rust-lang/rust
$BRANCH_POINT :beta -f
70
75
```
71
76
72
77
Re-enable branch protection on GitHub. Send a PR to the freshly created beta
73
- branch of rust-lang/rust which:
74
-
75
- - Update ` src/stage0.txt `
76
- - Change ` date ` to "YYYY-MM-DD" where the date is the archive date the stable
77
- build was uploaded
78
- - Change ` rustc ` to "X.Y.Z" where that's the version of rustc you just build
79
- - Comment ` rustfmt: nightly-YYYY-MM-DD `
80
- - Uncomment ` dev: 1 `
81
- - Update ` src/ci/channel ` to ` beta `
78
+ branch of rust-lang/rust which updates ` src/ci/channel ` to ` beta ` .
82
79
83
- ## Master bootstrap update (T-1 day, Wednesday )
80
+ ## Master bootstrap update (T-2 day, Tuesday )
84
81
85
82
Send a PR to the master branch to:
86
83
87
- - Update ` src/stage0.txt ` to change ` date ` to "YYYY-MM-DD" where the date is
88
- the archive date when the beta build was uploaded .
84
+ - Run ` ./x.py run src/tools/bump-stage0 ` to update the bootstrap compiler to
85
+ the beta you created yesterday .
89
86
90
87
- Remove references to the ` bootstrap ` and ` not(bootstrap) ` conditional
91
88
compilation attributes. You can find all of them by installing [ ripgrep] and
@@ -157,8 +154,9 @@ Decide on a time to do the release, T.
157
154
git push
[email protected] :rust-lang/cargo.git
$CARGO_VERSION
158
155
```
159
156
160
- - ** T+1hr** Send a PR to the beta branch to comment out ` dev: 1 ` again and
161
- update the date to download from (modifying ` src/stage0.txt ` ).
157
+ - ** T+1hr** Send a PR to the beta branch running `./x.py run
158
+ src/tools/bump-stage0` to bump the boostrap compiler to the stable you
159
+ just released.
162
160
163
161
[ update-thanks ] : https://github.com/rust-lang/thanks/actions/workflows/ci.yml
164
162
0 commit comments