compliance-operator icon indicating copy to clipboard operation
compliance-operator copied to clipboard

Use git describe for finding operator version

Open rhmdnd opened this issue 10 months ago • 7 comments

We need to be able to set the replaces attribute of the CSV file so that OLM can build a relationship between dependencies, which is important for disconnected installations and upgrades.

Previously, we were using the version in the CSV file, which worked but it would change within the make prepare-release target depending on when the command was invoked.

This commit updates the version script to use git describe instead, which makes finding the current version more robust since tagging isn't done until a subsequent step of the release process.

rhmdnd avatar Apr 01 '24 20:04 rhmdnd