@@ -26,7 +26,7 @@ $ git checkout origin/master -- RELEASES.md
26
26
Re-enable branch protection for the ` stable ` branch. Send a PR to rust-lang/rust
27
27
on the stable branch making the following changes:
28
28
29
- - Update ` src/ci/run.sh ` to pass ` channel= stable` , not ` channel=beta ` .
29
+ - Update ` src/ci/channel ` to ` stable `
30
30
31
31
Once the PR is sent, r+ it and give it a high ` p=1000 ` .
32
32
@@ -49,50 +49,36 @@ RUSTUP_DIST_SERVER=https://dev-static.rust-lang.org rustup update stable
49
49
50
50
## Promote master to beta (T-2 days, Tuesday)
51
51
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:
64
53
65
54
``` sh
66
- cd rust
67
- git fetch rust-lang
55
+ git fetch [email protected] :rust-lang/ rust
56
+ BRANCH_POINT= ` git log --merges --first-parent --format= " %P " -1 master -- src/version | awk ' {print($1)} ' `
68
57
NEW_BETA_VERSION=` git show $BRANCH_POINT :src/version`
69
58
CARGO_SHA=` git rev-parse $BRANCH_POINT :src/tools/cargo`
59
+
70
60
cd src/tools/cargo
71
61
git branch rust-$NEW_BETA_VERSION $CARGO_SHA
72
- git push origin rust-$NEW_BETA_VERSION
62
+ git push
[email protected] :rust-lang/cargo rust-
$NEW_BETA_VERSION
73
63
```
74
64
75
- You'll need to temporarily disable branch protection on GitHub to push the new
76
- branch.
77
-
78
65
Temporarily disable banch protection on GitHub for the ` beta ` branch of the Rust
79
66
repo. Promote rust-lang/rust's master branch to beta as with yesterday:
80
67
81
68
``` sh
82
- $ git fetch rust-lang
83
- $ git push rust-lang $BRANCH_POINT :beta -f
69
+ git push
[email protected] :rust-lang/rust
$BRANCH_POINT :beta -f
84
70
```
85
71
86
72
Re-enable branch protection on GitHub. Send a PR to the freshly created beta
87
73
branch of rust-lang/rust which:
88
74
89
- - Update src/stage0.txt
75
+ - Update ` src/stage0.txt `
90
76
- Change ` date ` to "YYYY-MM-DD" where the date is the archive date the stable
91
77
build was uploaded
92
78
- Change ` rustc ` to "X.Y.Z" where that's the version of rustc you just build
93
79
- Comment ` rustfmt: nightly-YYYY-MM-DD `
94
80
- Uncomment ` dev: 1 `
95
- - Update src/ci/run.sh to pass "--release-channel= beta".
81
+ - Update ` src/ci/channel ` to ` beta `
96
82
97
83
## Master bootstrap update (T-1 day, Wednesday)
98
84
0 commit comments