Skip to content

Commit 72f9490

Browse files
committed
release: Update containerImage manifest in all type of releases
[noissue] Signed-off-by: Balasankar 'Balu' C <[email protected]>
1 parent 33bf694 commit 72f9490

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

release/release.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff 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 ..."

0 commit comments

Comments
 (0)