Skip to content

Commit

Permalink
No previous version verification for community build
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Shitrit <mshitrit@redhat.com>
  • Loading branch information
mshitrit committed Mar 25, 2024
1 parent bfdd446 commit 7ebfff7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ bundle-community: bundle ##Add Community Edition suffix to operator name
sed -r -i "s|displayName: Customized User Remediation Operator.*|displayName: Customized User Remediation Operator - Community Edition|;" ${BUNDLE_CSV}

.PHONY: bundle-update
bundle-update: verify-previous-version ## Update CSV fields and validate the bundle directory
bundle-update: ## Update CSV fields and validate the bundle directory
# update container image in the metadata
sed -r -i "s|containerImage: .*|containerImage: ${IMG}|;" ${BUNDLE_CSV}
# set creation date
Expand All @@ -306,7 +306,7 @@ bundle-validate: operator-sdk ## Validate the bundle directory with additional v
$(OPERATOR_SDK) bundle validate ./bundle --select-optional suite=operatorframework

.PHONY: bundle-build
bundle-build: bundle bundle-update## Build the bundle image.
bundle-build: bundle verify-previous-version bundle-update## Build the bundle image.
docker build -f bundle.Dockerfile -t $(BUNDLE_IMG) .

.PHONY: bundle-push
Expand Down

0 comments on commit 7ebfff7

Please sign in to comment.