From c81eb6f321a1816f92a3bdc664aaf0bd1e5df51c Mon Sep 17 00:00:00 2001 From: Liam Gulliver <128083+lgulliver@users.noreply.github.com> Date: Mon, 31 Mar 2025 15:23:36 +0100 Subject: [PATCH 1/2] fix(makefile): remove surplus dry-run and fixed typo in build-installer --- Makefile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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 From 8b906fda05aaac4f8f16d2a31c2cab1a7fccc643 Mon Sep 17 00:00:00 2001 From: Liam Gulliver <128083+lgulliver@users.noreply.github.com> Date: Mon, 31 Mar 2025 15:28:26 +0100 Subject: [PATCH 2/2] Update package.json --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" }