ctc-oss / fapolicy-analyzer

Tools to assist with the configuration and management of fapolicyd.
https://ctc-oss.github.io/fapolicy-analyzer
GNU General Public License v3.0
13 stars 5 forks source link

Ensure spec version and git tag match #706

Closed jw3 closed 1 year ago

jw3 commented 1 year ago

A common error when creating a release is to forget to bump the spec file version. The result is the git tag is used for the GitHub release, but then the artifacts are still versioned as the spec file version.

This adds an early check in the RPM build that will fail when the spec and tag do not match.

This also rearranges the installation of dependencies to allow the build to fail a little faster.

Closes #705