This project uses cargo-dist and cargo-release to simplify cutting new releases.
Reference: Using cargo-release with Pull Requests
-
Create a release branch
git checkout -b $BRANCH
-
Update CHANGELOG
vim CHANGELOG.md git add -p git commit
-
Update version in
Cargo.toml
, add, commit, and pushcargo release --no-publish --no-tag --allow-branch $BRANCH $VERSION
E.g.,
cargo release --no-public --no-tag --allow-branch r1.0.1 1.0.1
-
Open a PR, review, and merge to main
-
Pull main, dist plan
git checkout main git pull dist plan
-
Tag, push tag, trigger dist
cargo release