GitHub and crates.io releases are automated via GitHub actions and triggered by pushing a tag.
- Bump the version in Cargo.toml according to Semantic Versioning.
- Update Cargo.lock by building the project:
cargo build
- Update CHANGELOG.md by running
git-cliff
:git cliff -u -t v[X.Y.Z] -p CHANGELOG.md
- Commit your changes:
git add -A && git commit -m "chore(release): bump version"
- Pull existing tags:
git fetch --tags
- Create a new tag:
git tag v[X.Y.Z]
- Push the tag:
git push --tags
- Announce the release! 🥳