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.
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