This repository uses a tag-driven release workflow.
Crates are published automatically when a Git tag matching the crate name and version is pushed.
- Choose the crate and new version.
- Update the crate’s
Cargo.tomlwith the new version. - Update
CHANGELOG.mdwith release notes (features, fixes, notable changes). - Update any relevant documentation (README, examples).
- Push the changes to a branch.
- Open a PR targeting
mainincluding:- version bump
- changelog updates
- documentation updates
- Ensure CI is green and merge the PR.
After the PR is merged:
git checkout main
git pull
git tag CRATE-NAME-VERSION
git push origin CRATE-NAME-VERSIONImportant: The tag must start with the crate name for the publish workflow to trigger.
Example:
git tag spiffe-0.7.4
git push origin spiffe-0.7.4- Go to GitHub → Releases
- Create a release from the tag
- Copy the notes from
CHANGELOG.md