This guide is only relevant for maintainers.
This crate is set up to be released using cargo-release
,
please install it and use it to do the release. It also takes care of updating the changelog.
To do the release:
- Make sure that your local clone of the repository is up-to-date
- Switch to a new feature branch for the release
- Run
cargo release [level]
(see their documentation for more details) to dry-run it. Make sure to choose the appropriate level based on semantic versioning! - Once you're happy with the result append
--execute
- After the release push the created tag & commit, create a PR & merge it
- Create a release on GitHub based on the tag