Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 674 Bytes

HOW-TO-RELEASE.md

File metadata and controls

24 lines (21 loc) · 674 Bytes

Making a release

  1. Update all Cargo.toml to have the new version.
  2. Update MSRV in README and CI config.
  3. Update README, CHANGELOG (run date --iso-8601 to get ISO-8601 date format).
  4. Run cargo build and review Cargo.lock changes if all looks well, make a commit.
  5. 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.

  1. Now upload the package
cargo publish
  1. 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