# Show the version gitversion-rs computes for the current commit
version:
gitversion-rs -v FullSemVer
# Dry-run: show what cargo-release would do without making changes
check level="patch":
cargo release {{level}}
# Bump version, commit Cargo.toml, create annotated tag, push
# Usage: just bump (patch)
# just bump minor
# just bump major
bump level="patch":
cargo release {{level}} --execute
# Publish the tagged commit to crates.io
# Run after `just bump` has pushed the tag
publish:
cargo release publish --execute