Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@
[
"@semantic-release/exec",
{
"prepareCmd": "VERSION=${nextRelease.version} make dry-run"
"prepareCmd": "VERSION=${nextRelease.version} make build-installer"
}
],
[
"@semantic-release/github",
{
"assets": [
{
"path": "dry-run/manifests.yaml",
"path": "dist/install.yaml",
"name": "install-${nextRelease.gitTag}.yaml",
"label": "install-${nextRelease.gitTag}.yaml"
}
Expand Down