Closed daljit46 closed 2 months ago
clang-tidy review says "All clean, LGTM! :+1:"
clang-tidy review says "All clean, LGTM! :+1:"
@Lestropie Sometimes the binary tests for dirrotate
fail on our CI. The failure doesn't seem to be deterministic because it doesn't always happen, but I have seen it also in other PRs.
The logic in
FindVersion.cmake
usesgit describe
to find the git commit and tags of the project. Previously, we were mistakenly aborting the configuration of the project whengit describe
returned an error. This PR fixes that by checking the version mismatch only if the parsing of the git tag and commit is successful. A warning is emitted otherwise. Closes #3000