@@ -26,7 +26,7 @@ $ git checkout origin/master -- RELEASES.md
2626Re-enable branch protection for the ` stable ` branch. Send a PR to rust-lang/rust
2727on the stable branch making the following changes:
2828
29- - Update ` src/ci/run.sh ` to pass ` channel= stable` , not ` channel=beta ` .
29+ - Update ` src/ci/channel ` to ` stable `
3030
3131Once the PR is sent, r+ it and give it a high ` p=1000 ` .
3232
@@ -49,50 +49,36 @@ RUSTUP_DIST_SERVER=https://dev-static.rust-lang.org rustup update stable
4949
5050## Promote master to beta (T-2 days, Tuesday)
5151
52- We need to find out the parent commit in which the PR opened last Monday merged.
53-
54- Go to that PR, and find the "bors merged commit $SHA into rust-lang: master at the bottom.
55-
56- Locally, run `` export BRANCH_POINT=`git rev-parse $SHA^` `` in the rust-lang/rust
57- checkout. This should be bors-authored merge into master of the PR before the
58- version bump merged.
59-
60- Create a new branch on ` rust-lang/cargo ` for the new beta. Here, ` rust-lang ` is
61- the remote for https://github.com/rust-lang/rust.git . Replace ` YY ` with the
62- minor version of master. First determine the branch point for cargo in
63- ` rust-lang/rust ` , and then create a new branch:
52+ Gather the relevant information and push the new Cargo branch:
6453
6554``` sh
66- cd rust
67- git fetch rust-lang
55+ git fetch git@github.com:rust-lang/ rust
56+ BRANCH_POINT= ` git log --merges --first-parent --format= " %P " -1 master -- src/version | awk ' {print($1)} ' `
6857NEW_BETA_VERSION=` git show $BRANCH_POINT :src/version`
6958CARGO_SHA=` git rev-parse $BRANCH_POINT :src/tools/cargo`
59+
7060cd src/tools/cargo
7161git branch rust-$NEW_BETA_VERSION $CARGO_SHA
72- git push origin rust-$NEW_BETA_VERSION
62+ git push git@github.com:rust-lang/cargo rust-$NEW_BETA_VERSION
7363```
7464
75- You'll need to temporarily disable branch protection on GitHub to push the new
76- branch.
77-
7865Temporarily disable banch protection on GitHub for the ` beta ` branch of the Rust
7966repo. Promote rust-lang/rust's master branch to beta as with yesterday:
8067
8168``` sh
82- $ git fetch rust-lang
83- $ git push rust-lang $BRANCH_POINT :beta -f
69+ git push git@github.com:rust-lang/rust $BRANCH_POINT :beta -f
8470```
8571
8672Re-enable branch protection on GitHub. Send a PR to the freshly created beta
8773branch of rust-lang/rust which:
8874
89- - Update src/stage0.txt
75+ - Update ` src/stage0.txt `
9076 - Change ` date ` to "YYYY-MM-DD" where the date is the archive date the stable
9177 build was uploaded
9278 - Change ` rustc ` to "X.Y.Z" where that's the version of rustc you just build
9379 - Comment ` rustfmt: nightly-YYYY-MM-DD `
9480 - Uncomment ` dev: 1 `
95- - Update src/ci/run.sh to pass "--release-channel= beta".
81+ - Update ` src/ci/channel ` to ` beta `
9682
9783## Master bootstrap update (T-1 day, Wednesday)
9884
0 commit comments