about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoshua Nelson <jnelson@cloudflare.com>2022-10-01 23:05:32 -0500
committerJoshua Nelson <jnelson@cloudflare.com>2022-10-30 16:43:31 -0500
commit1aab5d570baca5d776b9e6c670791391fe39bd6d (patch)
tree2a3e8d13db484dac36144480f832762909b137b7
parentfde05ea0898bf0436f9a85d6f58064cba9c8336c (diff)
downloadrust-1aab5d570baca5d776b9e6c670791391fe39bd6d.tar.gz
rust-1aab5d570baca5d776b9e6c670791391fe39bd6d.zip
More build-manifest docs
-rw-r--r--src/tools/build-manifest/README.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/tools/build-manifest/README.md b/src/tools/build-manifest/README.md
index 40dce38742a..9d30c554186 100644
--- a/src/tools/build-manifest/README.md
+++ b/src/tools/build-manifest/README.md
@@ -8,10 +8,9 @@ This gets called by `promote-release` <https://github.com/rust-lang/promote-rele
 
 ## Adding a new component
 
-There are several steps involved here.
 1. Add a new `Step` to `dist.rs`. This should usually be named after the filename of the uploaded tarball. See https://github.com/rust-lang/rust/pull/101799/files#diff-2c56335faa24486df09ba392d8900c57e2fac4633e1f7038469bcf9ed3feb871 for an example.
     a. If appropriate, call `tarball.is_preview(true)` for the component.
-3. Add a new `PkgType` to build-manifest. Fix all the compile errors as appropriate.
+2. Add a new `PkgType` to build-manifest. Fix all the compile errors as appropriate.
 
 ## Testing changes locally
 
@@ -30,5 +29,5 @@ Then, you can generate the manifest and all the packages from `build/dist` to
 
 ```sh
 mkdir -p build/manifest
-cargo +nightly run -p build-manifest build/dist build/manifest 1970-01-01 http://example.com nightly
+cargo +nightly run --release -p build-manifest build/dist build/manifest 1970-01-01 http://example.com nightly
 ```