-
Ensure all notable changes are in the changelog under "Unreleased".
-
Ensure that the upstream remote is called
upstream
. The default is usuallyorigin
. To change the remote name, callgit remote rename origin upstream
. -
Execute
cargo release <level>
to bump version(s), tag and publish everything. External subcommand, must be installed withcargo install cargo-release
.<level>
can be one ofmajor|minor|patch
. If this is the first release (0.1.0
), useminor
, since the version starts out as0.0.0
. -
Go to the GitHub releases, edit the just-pushed tag. Copy the release notes from the changelog.
- Remove the brackets from the PR numbers, as these are not needed for GitHub's release notes.