ComplianceAsCode / compliance-operator

Operator providing Kubernetes cluster compliance checks
Apache License 2.0
36 stars 22 forks source link

Makefile: set CSV 'replaces' on make prepare-release #524

Closed yuumasato closed 2 months ago

yuumasato commented 2 months ago

This updates and relocates the 'sed' command updating the 'replaces' key on the CSV file.

For some reason, the variable PREVIOUS_VERSION is updated after bundle is updated with the next version's number. After the 'bundle' target is executed the value of PREVIOUS_VERSION during execution of 'bundle-image' target is updated because apparently 'utils/get-current-version.sh' is executed again.

openshift-ci[bot] commented 2 months ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: yuumasato Once this PR has been reviewed and has the lgtm label, please assign bhargavigudi for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/ComplianceAsCode/compliance-operator/blob/master/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
yuumasato commented 2 months ago

I have just noticed https://github.com/ComplianceAsCode/compliance-operator/pull/500 exists, :melting_face: