@@ -98,15 +98,31 @@ branch of rust-lang/rust which:
98
98
99
99
Send a PR to the master branch to:
100
100
101
- - modify src/stage0.txt to bootstrap from yesterday's beta
102
- - Remove ` cfg(stage0) ` annotated items
103
- - Replace ` cfg(not(stage0)) ` with nothing
101
+ - Update ` src/stage0.txt ` to change ` date ` to "YYYY-MM-DD" where the date is
102
+ the archive date when the beta build was uploaded.
103
+
104
+ - Remove references to the ` bootstrap ` and ` not(bootstrap) ` conditional
105
+ compilation attributes. You can find all of them by installing [ ripgrep] and
106
+ running this command:
107
+
108
+ ```
109
+ rg '#!?\[.*\(bootstrap' -t rust
110
+ ```
111
+
112
+ The general guidelines (both for ` #[] ` and ` #![] ` ) are:
113
+
114
+ - Remove any item annotated with ` #[cfg(bootstrap)] ` .
115
+ - Remove any ` #[cfg(not(bootstrap))] ` attribute while keeping the item.
116
+ - Remove any ` #[cfg_attr(bootstrap, $attr)] ` attribute while keeping the item.
117
+ - Replace any ` #[cfg_attr(not(bootstrap), doc="$doc")] ` with ` $doc ` in the
118
+ relevant documentation block (or in a new documentation block).
119
+ - Replace any ` #[cfg_attr(not(bootstrap), $attr)] ` with ` #[$attr] ` .
104
120
105
121
## Release day (Thursday)
106
122
107
123
Decide on a time to do the release, T.
108
124
109
- - ** T-30m ** - Run the following command in a shell with [ AWS
125
+ - ** T-50m ** - Run the following command in a shell with [ AWS
110
126
credentials] [ awscli ] in the [ simpleinfra] repository:
111
127
112
128
```
@@ -129,13 +145,11 @@ Decide on a time to do the release, T.
129
145
After this [ Update thanks.rust-lang.org] [ update-thanks ] by triggering a build
130
146
on GitHub Actions on the master branch.
131
147
132
- - ** T-5m ** - Merge blog post.
148
+ - ** T-2m ** - Merge blog post.
133
149
134
150
- ** T** - Tweet and post everything!
135
151
136
152
- Twitter [ @rustlang ] ( https://twitter.com/rustlang )
137
- - Reddit [ /r/rust] ( https://www.reddit.com/r/rust/ )
138
- - [ Hacker News] ( https://news.ycombinator.com/ )
139
153
- [ Users forum] ( https://users.rust-lang.org/ )
140
154
141
155
- ** T+5m** - Release and tag Cargo. In the rust-lang/rust repository on the
@@ -198,3 +212,4 @@ RUSTUP_DIST_SERVER=https://dev-static.rust-lang.org rustup toolchain install nig
198
212
[ awscli ] : /infra/docs/aws-access.md#using-the-aws-cli
199
213
[ rust-lang/rust ] : https://github.com/rust-lang/rust
200
214
[ simpleinfra ] : https://github.com/rust-lang/simpleinfra
215
+ [ ripgrep ] : https://github.com/burntsushi/ripgrep
0 commit comments