- Bump to
version = "X.Y.Z"
oncargo.toml
. - Format if needed, commit and open PR (as
main
branch is protected). - Wait for PR to be merged.
- Once the PR is in
main
, create an annotated signed tag on the merge commit of the PR inmain
:git tag -s -a -m "vX.Y.Z" vX.Y.Z
. This will trigger the GH Action for release. Wait for it to complete and check that it is created. - If needed, edit the GH release description.
For some workflows, GITHUB_TOKEN needs read and write permissions (e.g: to perform cosign signatures); if you have forked the repository, you may need to change "settings -> actions -> general -> workflow permissions" to "Read and write permissions".
Also, given how the release and release-drafter workflows work, they need git tags present; push the tags from origin to your fork.
Check out our global CONTRIBUTING guidelines for Rust code conventions