Skip to content

Commit b3780e2

Browse files
committed
release: Set com.redhat.openshift.versions annotation for community operator releases
[noissue] Signed-off-by: Balasankar 'Balu' C <[email protected]>
1 parent 9f2c394 commit b3780e2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

release/release.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ function operatorhub {
6969
CSV_FILE=${CATALOG_DIR}/manifests/pulp-operator.clusterserviceversion.yaml
7070
echo " replaces: pulp-operator.v${PULP_OPERATOR_REPLACE_VERSION}" >> $CSV_FILE
7171

72+
ANNOTATIONS_FILE=${CATALOG_DIR}/metadata/annotations.yaml
73+
echo 'com.redhat.openshift.versions: "v4.17-v4.18"' >> $ANNOTATIONS_FILE
74+
7275
echo "Commiting changes ..."
7376
git add operators/pulp-operator/
7477
git commit -sm "operator pulp-operator ($PULP_OPERATOR_RELEASE_VERSION)"

0 commit comments

Comments
 (0)