A trivial cargo extension for CI workflows to check that the cargo manifest version matches the git tag you've just pushed
- Version tags with or without
vprefix - Github Actions (via the
GITHUB_REFenv var)
In your CI workflow:
cargo install cargo-check-tagcargo check-tagcargo publish