Merge pull request #122020 from Vyom-Yadav/fixOverridingVarInVerify

Fix verify target to not update env var if already set
This commit is contained in:
Kubernetes Prow Robot 2023-11-27 04:06:16 +01:00 committed by GitHub
commit ad9b60e2c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,9 +123,12 @@ endef
ifeq ($(PRINT_HELP),y)
verify:
echo "$$VERIFY_HELP_INFO"
else
else ifeq ($(origin KUBE_VERIFY_GIT_BRANCH), undefined)
verify:
KUBE_VERIFY_GIT_BRANCH=$(BRANCH) hack/make-rules/verify.sh
else
verify:
hack/make-rules/verify.sh
endif
define QUICK_VERIFY_HELP_INFO