Skip to content

Commit f95a2a5

Browse files
committed
Add some clarifications on where things run from.
1 parent 3c8399e commit f95a2a5

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Diff for: src/doc/contrib/src/process/release.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -132,15 +132,18 @@ to [crates.io] as part of the 6-week stable release process by the [Release
132132
team]. There is a [`publish.py` script] that is used by the Release team's
133133
automation scripts (see <https://github.com/rust-lang/simpleinfra/>) to handle
134134
determining which packages to publish. The test and build tool crates aren't
135-
published.
135+
published. This runs on the specific git commit associated with the cargo
136+
submodule in the `stable` branch in `rust-lang/rust` at the time of release.
136137

137138
On very rare cases, the Cargo team may decide to manually publish a new
138139
release to [crates.io]. For example, this may be necessary if there is a
139140
problem with the current version that only affects API users, and does not
140141
affect the `cargo` binary shipped in the stable release. In this situation,
141-
the patch version should be bumped, and then someone with permissions
142-
(currently a subset of the Cargo team, or the Release team) should publish it
143-
manually.
142+
PRs should be merged to the associated stable release branch in the cargo repo
143+
(like `rust-1.70.0`) that fix the issue and bump the patch version of the
144+
affected package. Then someone with permissions (currently a subset of the
145+
Cargo team, or the Release team) should publish it manually using `cargo
146+
publish`.
144147

145148
Some packages are not published automatically because they are not part of the
146149
Rust release train. These currently include all of the [`credential`] packages

0 commit comments

Comments
 (0)