You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/release/process.md
+17-5Lines changed: 17 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -137,12 +137,24 @@ Decide on a time to do the release, T.
137
137
-[Hacker News](https://news.ycombinator.com/)
138
138
-[Users forum](https://users.rust-lang.org/)
139
139
140
-
-**T+5m** - Tag Cargo the same way as rust-lang/rust and then run
141
-
`cargo publish` for the tag you just created. You'll first need to comment
142
-
out `cargo-test-macro` from Cargo.toml, then publish `crates-io` (in
143
-
`crates/crates-io`) and finally publish `cargo` itself.
140
+
-**T+5m** - Release and tag Cargo. In the rust-lang/rust repository on the
141
+
**stable branch**:
144
142
145
-
To publish Cargo you may have to bump the version numbers for the crates-io and Cargo crates; there's no need to do that in a formal commit though, so your tag and the published code may differentiate in that way.
143
+
```sh
144
+
# Remote "rust-lang" is github.com/rust-lang/rust.git
145
+
git fetch rust-lang
146
+
git checkout rust-lang/stable
147
+
# Make sure submodules are at the correct revision.
148
+
git submodule update
149
+
cd src/tools/cargo
150
+
# Publish to crates.io. This will publish internal dependencies first (if
151
+
# necessary), then publish Cargo itself.
152
+
./publish.py
153
+
# Where YY is the Rust minor release, add one to it (Rust 1.49.0 = Cargo 0.50.0).
0 commit comments