- Update all
Cargo.toml
to have the new version. - Update MSRV in README and CI config.
- Update README, CHANGELOG (run
date --iso-8601
to get ISO-8601 date format). - Run
cargo build
and reviewCargo.lock
changes if all looks well, make a commit. - Package up your crate into a format that can be uploaded to https://crates.io
cargo package
Check if files in package are correct by cargo package --list
.
- Now upload the package
cargo publish
- Create tag and publish to remote
VER_NUM=v1.x.x
git tag -as $VER_NUM -m $VER_NUM
git push origin main
git push origin $VER_NUM