More build-manifest docs

This commit is contained in:
Joshua Nelson 2022-10-01 23:05:32 -05:00
parent fde05ea089
commit 1aab5d570b

View file

@ -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
```