From 42382d4f9fbd3bfa5eab68c33581741adf4a7793 Mon Sep 17 00:00:00 2001 From: Martin Schuppert Date: Tue, 3 Dec 2024 14:49:21 +0100 Subject: [PATCH] Use conditional assignment for BRANCH Signed-off-by: Martin Schuppert --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 65d95bc..efdc23d 100644 --- a/Makefile +++ b/Makefile @@ -360,7 +360,7 @@ run-with-webhook: manifests generate fmt vet ## Run a controller from your host. /bin/bash hack/run_with_local_webhook.sh CRD_SCHEMA_CHECKER_VERSION ?= release-4.16 -BRANCH=main +BRANCH ?= main PHONY: crd-schema-check crd-schema-check: manifests INSTALL_DIR=$(LOCALBIN) CRD_SCHEMA_CHECKER_VERSION=$(CRD_SCHEMA_CHECKER_VERSION) hack/build-crd-schema-checker.sh