This project uses cargo-dist and cargo-release to simplify cutting new releases.
cargo dist build cargo dist plan cargo release <version>
E.g.
cargo release 1.0.1
cargo release <version> --execute
E.g.
cargo release 1.0.1 --execute
This will:
-
Update version in
Cargo.toml
andCargo.lock
and commit them -
Publish the release to crates.io
-
Creates a tag and pushes it
Pushing the tag then kicks off cargo-dist which:
-
Builds release artifacts
-
Creates a GitHub Release
Sit back and relax while cargo-dist
automatically creates a GitHub Release and releases binaries for each platform.
See the cargo-dist cargo-release guide.