- To not forget any step in the release process.
- To make sure the Github actions are properly tagged, and the Github action on the main branch keeps on using the main branch's code.
- Bump the version in the
Cargo.tomlfile. - Compile, to make sure the
Cargo.lockfile is updated. - Commit the changes and open a PR.
- Once the PR passes CI, merge it.
- Tag the commit with the version number and push.
- Github will prepare a Github release, based on this, with the built binary artifacts.
- A maintainer must then publish the artifacts once they're built, adding the release notes if needs be, etc.
cargo publish, with or without--dry-run.