1.5 KiB
1.5 KiB
Release checklist
This checklist is meant to be used as a guide for the crates.io release process.
Releases are always made in lockstep, meaning that all crates in the repository are released with the same version number, regardless of whether they have changed or not.
Requirements
- cargo-release:
cargo install cargo-release - git-cliff (patched with orhun/git-cliff#711):
cargo install --git https://github.com/DaniPopes/git-cliff.git --branch fix-include-paths git-cliff - dist:
cargo install cargo-dist
Steps
- Create a new branch:
git checkout -b release-<version> - Run
cargo-releaseto handle the version bump, changelog, and commit:cargo release --execute --no-publish --no-tag --allow-branch=<branch> <version> - Update changelog message if necessary.
- Update
README.md's### Library usage. - Push, open and merge the PR. The name of the PR should be the same as the
cargo-releasecommit message. git checkout mainandgit pull.- Verify
dist planis correct. - Run
cargo-releaseto tag and publish:NO_GIT_CLIFF=1 cargo release --execute [--no-verify] <version>
These steps are adapted from the recommended cargo-release + dist workflow, described in more detail here.