nbigaouette / hygeia

Python toolchain manager 🐍
Apache License 2.0
68 stars 3 forks source link

Git tag version mismatch with Cargo.toml #136

Open nbigaouette opened 4 years ago

nbigaouette commented 4 years ago

The crate git-testament is used to get git information at build time. It is useful to include the git commit in the version of the binary, as reported by the -V/--version flag.

This cause issue when the git tag that git-testament finds and what is available in Cargo.toml does not match, for example when the toml version is bumped in preparation for a release but the git tag is not yet created.

Integration tests will fail in that case. See for example https://github.com/nbigaouette/hygeia/actions/runs/31446994