docs(release): Skip unused cargo release steps

`cargo release` provides multiple steps:
- changes
- version
- replace
- hook
- commit
- publish
- owner
- tag
- push
- config
- help

We only make use of `publish` and `tag`. We explicitly don't want `cargo release` to do `version` or `commit`.

Update the release docs accordingly, namely replace the generic `cargo release` with a two step process `cargo release publish` and `cargo release tag`.

Pull-Request: #3596.
This commit is contained in:
Max Inden
2023-03-14 20:22:21 +01:00
committed by GitHub
parent d7bf56376e
commit 1b09b8c85c

View File

@@ -27,8 +27,11 @@ documentation will refer to `X.Y.Z` as _major_, _minor_ and _patch_ version.
`CHANGELOG.md`. Create a pull request with the changes against the
rust-libp2p `master` branch.
2. Once merged, run `cargo release --workspace --sign-tag --no-push --execute`
on the (squash-) merged commit on the `master` branch.
2. Once merged, run the two commands below on the (squash-) merged commit on the `master` branch.
1. `cargo release publish --execute`
2. `cargo release tag --sign-tag --execute`
3. Confirm that `cargo release` tagged the commit correctly via `git push
$YOUR_ORIGIN --tag --dry-run` and then push the new tags via `git push