Skip to content

Commit

Permalink
docs(contrib): Update release process
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Oct 3, 2022
1 parent 1e73f00 commit 5f5abc9
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,15 @@ As a heads up, we'll be running your PR through the following gauntlet:

## Releasing

Pre-requisites
- Running `cargo login`
- A member of `rust-cli:Maintainers`
- Push permission to the repo

When we're ready to release, a project owner should do the following
- Determine what the next version is, according to semver
- Bump version in a commit
- Update CHANGELOG.md
- Update the version in `Cargo.toml`
- Update the dependency version in `src/lib.rs`
- Update the dependency version in `README.md`
- Tag the commit via `git tag -am "v<X>.<Y>.<Z>" v<X>.<Y>.<Z>`
- `git push upstream master --tag v<X>.<Y>.<Z>`
- Run `cargo publish` (run `cargo login` first if needed)
1. Update the changelog
2. Determine what the next version is, according to semver
3. Run [`cargo release -x <level>`](https://github.com/crate-ci/cargo-release)

[issues]: https://github.com/assert-rs/assert_cmd/issues
[new issue]: https://github.com/assert-rs/assert_cmd/issues/new
Expand Down

0 comments on commit 5f5abc9

Please sign in to comment.