Skip to content

Commit

Permalink
Merge pull request #294 from stuggi/branch_var
Browse files Browse the repository at this point in the history
Use conditional assignment for BRANCH
  • Loading branch information
openshift-merge-bot[bot] authored Dec 3, 2024
2 parents 6b2a897 + 76980fd commit 2e3a8e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ run-with-webhook: manifests generate fmt vet ## Run a controller from your host.
CRD_SCHEMA_CHECKER_VERSION ?= release-4.16

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

0 comments on commit 2e3a8e1

Please sign in to comment.