File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ function bump_version {
3232 echo " Updating the manifests with the changes ..."
3333 make generate manifests bundle
3434
35+ echo " Updating containerImage annotation"
36+ CSV_FILE=manifests/pulp-operator.clusterserviceversion.yaml
37+ sed -i " s#containerImage: quay.io/pulp/pulp-operator:devel#containerImage: quay.io/pulp/pulp-operator:v${PULP_OPERATOR_RELEASE_VERSION} #g" $CSV_FILE
38+
3539 echo " Commiting changes ..."
3640 git commit -am " Bump version from Makefile to $PULP_OPERATOR_RELEASE_VERSION " -m " [noissue]"
3741}
@@ -63,7 +67,6 @@ function operatorhub {
6367
6468 cp -a ${PULP_OPERATOR_SOURCE_PATH} /bundle/* ${CATALOG_DIR} /
6569 CSV_FILE=${CATALOG_DIR} /manifests/pulp-operator.clusterserviceversion.yaml
66- sed -i " s#containerImage: quay.io/pulp/pulp-operator:devel#containerImage: quay.io/pulp/pulp-operator:v${PULP_OPERATOR_RELEASE_VERSION} #g" $CSV_FILE
6770 echo " replaces: pulp-operator.v${PULP_OPERATOR_REPLACE_VERSION} " >> $CSV_FILE
6871
6972 echo " Commiting changes ..."
You can’t perform that action at this time.
0 commit comments