Skip to content

Commit

Permalink
feat: add check to prevent releases with "latest" version dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Zeevi <[email protected]>
  • Loading branch information
maze88 committed Sep 8, 2024
1 parent fc602d0 commit 97a5349
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ bundle-push: ## Push the bundle image.

.PHONY: release-build
release-build:
yq '.[].version' hack/release.yaml | grep 'latest' && exit 1 || true
cd hack && $(GO) run release.go --templateDir ./templates/samples/ --outputDir ../config/samples/
cd hack && $(GO) run release.go --templateDir ./templates/crs/ --outputDir ../example/crs
cd hack && $(GO) run release.go --templateDir ./templates/values/ --outputDir ../deployment/network-operator/
Expand Down

0 comments on commit 97a5349

Please sign in to comment.