@@ -36,31 +36,31 @@ to fix it. This should be relatively rare.
36
36
37
37
## Promote beta to stable (T-3 days, Monday)
38
38
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:
41
41
42
42
``` sh
43
43
$ git fetch rust-lang
44
44
$ git push rust-lang rust-lang/beta:stable -f
45
45
```
46
46
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:
48
49
49
50
* Update the cargo submodule to the latest of the branch for this rustc version.
50
51
Cargo branches are named ` rust-1.17.0 ` and such.
51
52
* 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).
53
54
* Update ` src/ci/run.sh ` to pass ` channel=stable ` , not ` channel=beta ` .
54
55
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 ` .
56
57
57
58
The stable build will ** not** deploy automatically to prod. The
58
59
rust-central-station repository is configured to upload to ** dev** every hour if
59
60
it detects a change. You should be able to browse changes in dev.
60
61
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
64
64
https://dev-static-rust-lang-org.s3.amazonaws.com/dist/2015-09-17/index.html and
65
65
our URL is then https://dev-static.rust-lang.org/dist/2015-09-17/index.html .
66
66
@@ -80,17 +80,19 @@ $ git fetch rust-lang
80
80
$ git push rust-lang rust-lang/master:rust-1.14.0
81
81
```
82
82
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.
84
85
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:
86
88
87
89
``` sh
88
90
$ git fetch rust-lang
89
91
$ git push rust-lang rust-lang/master:beta -f
90
92
```
91
93
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:
94
96
95
97
* Update src/stage0.txt
96
98
* Change ` date ` to "YYYY-MM-DD" where the date is the archive date the stable
@@ -101,9 +103,10 @@ which:
101
103
* Uncomment ` dev: 1 `
102
104
* Update src/ci/run.sh to pass "--release-channel=beta".
103
105
* Update the cargo submodule to the head of the versioned branch
104
- * Update the rls submodule to the head of the versioned branch
105
106
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.
107
110
108
111
# Master bootstrap update (T-1 day, Wednesday)
109
112
@@ -114,7 +117,9 @@ Send a PR to the master branch to:
114
117
* modify src/stage0.txt to bootstrap from yesterday's beta
115
118
* modify src/bootstrap/channel.rs with the new version number
116
119
* 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.
118
123
119
124
## Release day (Thursday)
120
125
@@ -123,7 +128,7 @@ Decide on a time to do the release, T.
123
128
* ** T-30m** - This is on rust-central-station:
124
129
125
130
```
126
- docker exec -d -it `docker ps -l -q` bash -c \
131
+ docker exec -d -it rcs bash -c \
127
132
'promote-release /tmp/stable stable /data/secrets.toml 2>&1 | logger --tag release-stable-realz'
128
133
```
129
134
@@ -134,7 +139,6 @@ Decide on a time to do the release, T.
134
139
135
140
* ** T-20m** - Merge the website. Travis may have a big backlog, cancel
136
141
rust-lang/rust PR builds or other builds until this build is scheduled.
137
- This'll then involve a CloudFront invalidation that takes awhile.
138
142
139
143
* ** T-10m** - Locally, tag the new release and upload it. Use "x.y.z release" as
140
144
the commit message.
0 commit comments