diff --git a/Makefile b/Makefile index 31122d8..30db5d5 100644 --- a/Makefile +++ b/Makefile @@ -220,12 +220,6 @@ bundle-build: ## Build the bundle image. bundle-push: ## Push the bundle image. $(MAKE) docker-push IMG=$(BUNDLE_IMG) -.PHONY: dry-run -dry-run: manifests kustomize - cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG} - mkdir -p ./dry-run - $(KUSTOMIZE) build config/default > dry-run/manifests.yaml - .PHONY: opm OPM = ./bin/opm opm: ## Download opm locally if necessary. @@ -271,4 +265,4 @@ catalog-push: ## Push a catalog image. build-installer: manifests generate kustomize ## Generate a consolidated YAML with CRDs and deployment. mkdir -p dist cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG} - $(KUSTOMIZE) build config/default > dist/install.yam + $(KUSTOMIZE) build config/default > dist/install.yaml diff --git a/package.json b/package.json index e0b6b87..c1a2e31 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ [ "@semantic-release/exec", { - "prepareCmd": "VERSION=${nextRelease.version} make dry-run" + "prepareCmd": "VERSION=${nextRelease.version} make build-installer" } ], [ @@ -38,7 +38,7 @@ { "assets": [ { - "path": "dry-run/manifests.yaml", + "path": "dist/install.yaml", "name": "install-${nextRelease.gitTag}.yaml", "label": "install-${nextRelease.gitTag}.yaml" }