Skip to content

Commit 2e3a8e1

Browse files
Merge pull request #294 from stuggi/branch_var
Use conditional assignment for BRANCH
2 parents 6b2a897 + 76980fd commit 2e3a8e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ run-with-webhook: manifests generate fmt vet ## Run a controller from your host.
382382
CRD_SCHEMA_CHECKER_VERSION ?= release-4.16
383383

384384
PHONY: crd-schema-check
385-
BRANCH=main
385+
BRANCH ?= main
386386
crd-schema-check: manifests
387387
INSTALL_DIR=$(LOCALBIN) CRD_SCHEMA_CHECKER_VERSION=$(CRD_SCHEMA_CHECKER_VERSION) hack/build-crd-schema-checker.sh
388388
INSTALL_DIR=$(LOCALBIN) BASE_REF="$${PULL_BASE_SHA:-$(BRANCH)}" hack/crd-schema-checker.sh

0 commit comments

Comments
 (0)