Inspect the manifest version before tagging a release.

Section: Release recipes

Read current package version

bash
bash
cargo pkgid
Explanation

Handy when scripting release steps, though tags are usually managed separately.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Release recipes
Build an optimized release binary
Compile the release artifact for shipping.
OpenIn sheetbashsame section
Build a mostly static Linux binary
Compile against the musl target.
OpenIn sheetbashsame section
Install a specific version
Pin the crate version during install.
OpenIn sheetbash2 tag match
Clean before a release build
Rebuild from a clean state for reproducibility.
OpenIn sheetbash2 tag match
Create a package tarball
Build the package as it would be published.
OpenIn sheetbash1 tag match
Install a binary from crates.io
Install a published executable crate.
OpenIn sheetbash1 tag match