Adopted the complete workflow from the HCI Effects cargo publish documentation rather than referencing it, making the steps explicit and self-contained.
1 KiB
1 KiB
Release process
This project uses simple tags, that trigger a release of all crates using Hercules CI. Based on the HCI Effects cargo publish workflow.
Steps
- Create a
releasebranch - Decide the version bump (patch for fixes, minor for features, major for breaking changes)
- Update
CHANGELOG.md: make sure the Unreleased section is up to date, then change it to the new version and release date - Open a draft release PR and wait for CI to pass
- Create and push a tag matching the version
- Add a new Unreleased section to
CHANGELOG.md - Bump version in all
Cargo.tomlfiles to the next patch version (e.g.,0.2.0→0.2.1) and runcargo update --workspaceto updateCargo.lock, so thatcargo publish --dry-runpasses on subsequent commits - Merge the release PR
Dissatisfied with the coarse grained release process? Complain to @roberth and he'll get it done for you.