Skip to content

Commit 15579f6

Browse files
committed
Tweaks to release process document
1 parent bb4be1f commit 15579f6

File tree

1 file changed

+21
-17
lines changed

1 file changed

+21
-17
lines changed

release-process.md

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -36,31 +36,31 @@ to fix it. This should be relatively rare.
3636

3737
## Promote beta to stable (T-3 days, Monday)
3838

39-
Promote beta to stable. This is local, in your Rust repo, assuming you have
40-
push access to rust-lang.
39+
Promote beta to stable. Temporarily turn off GitHub branch protection for the
40+
`stable` branch in rust-lang/rust repo. In your local Rust repo:
4141

4242
```sh
4343
$ git fetch rust-lang
4444
$ git push rust-lang rust-lang/beta:stable -f
4545
```
4646

47-
Send a PR to rust-lang/rust on the stable branch making the following changes:
47+
Re-enable branch protection for the `stable` branch. Send a PR to
48+
rust-lang/rust on the stable branch making the following changes:
4849

4950
* Update the cargo submodule to the latest of the branch for this rustc version.
5051
Cargo branches are named `rust-1.17.0` and such.
5152
* Update the rls submodule to the latest of the branch for this rustc version
52-
(as with Cargo)
53+
as with Cargo, only if the RLS has such a branch (currently it doesn't).
5354
* Update `src/ci/run.sh` to pass `channel=stable`, not `channel=beta`.
5455

55-
Once the PR is sent, r+ it and give it a high `p=10000`.
56+
Once the PR is sent, r+ it and give it a high `p=1000`.
5657

5758
The stable build will **not** deploy automatically to prod. The
5859
rust-central-station repository is configured to upload to **dev** every hour if
5960
it detects a change. You should be able to browse changes in dev.
6061

61-
## Prerelease testing (T-2 days, Tuesday)
62-
63-
Post a message to irlo asking for testing. The index is
62+
As soon as this build is done post a message to irlo asking for testing. The
63+
index is
6464
https://dev-static-rust-lang-org.s3.amazonaws.com/dist/2015-09-17/index.html and
6565
our URL is then https://dev-static.rust-lang.org/dist/2015-09-17/index.html.
6666

@@ -80,17 +80,19 @@ $ git fetch rust-lang
8080
$ git push rust-lang rust-lang/master:rust-1.14.0
8181
```
8282

83-
Do the same for rust-lang-nursery/rls
83+
In theory one day we'll do the same for rust-lang-nursery/rls, but for now we
84+
haven't done this yet.
8485

85-
Promote rust-lang/rust's master branch to beta as with yesterday:
86+
Temporarily disable banch protection on GitHub for the `beta` branch of the Rust
87+
repo. Promote rust-lang/rust's master branch to beta as with yesterday:
8688

8789
```sh
8890
$ git fetch rust-lang
8991
$ git push rust-lang rust-lang/master:beta -f
9092
```
9193

92-
Send a PR to the freshly created beta branch of rust-lang/rust
93-
which:
94+
Re-enable branch protection on GitHub. Send a PR to the freshly created beta
95+
branch of rust-lang/rust which:
9496

9597
* Update src/stage0.txt
9698
* Change `date` to "YYYY-MM-DD" where the date is the archive date the stable
@@ -101,9 +103,10 @@ which:
101103
* Uncomment `dev: 1`
102104
* Update src/ci/run.sh to pass "--release-channel=beta".
103105
* Update the cargo submodule to the head of the versioned branch
104-
* Update the rls submodule to the head of the versioned branch
105106

106-
After this PR merges (through @bors) the beta should be automatically released.
107+
Note that you probably don't want to update the RLS if it's working, but if it's
108+
not working beta won't land and it'll need to get updated. After this PR merges
109+
(through @bors) the beta should be automatically released.
107110

108111
# Master bootstrap update (T-1 day, Wednesday)
109112

@@ -114,7 +117,9 @@ Send a PR to the master branch to:
114117
* modify src/stage0.txt to bootstrap from yesterday's beta
115118
* modify src/bootstrap/channel.rs with the new version number
116119
* Update the cargo submodule to the master branch
117-
* Update the rls submodule to the master branch
120+
121+
In theory update the RLS submodule as well, but it's pretty susceptible to
122+
breakage so I'd probably avoid that for now.
118123

119124
## Release day (Thursday)
120125

@@ -123,7 +128,7 @@ Decide on a time to do the release, T.
123128
* **T-30m** - This is on rust-central-station:
124129

125130
```
126-
docker exec -d -it `docker ps -l -q` bash -c \
131+
docker exec -d -it rcs bash -c \
127132
'promote-release /tmp/stable stable /data/secrets.toml 2>&1 | logger --tag release-stable-realz'
128133
```
129134

@@ -134,7 +139,6 @@ Decide on a time to do the release, T.
134139

135140
* **T-20m** - Merge the website. Travis may have a big backlog, cancel
136141
rust-lang/rust PR builds or other builds until this build is scheduled.
137-
This'll then involve a CloudFront invalidation that takes awhile.
138142

139143
* **T-10m** - Locally, tag the new release and upload it. Use "x.y.z release" as
140144
the commit message.

0 commit comments

Comments
 (0)