Merge pull request #125009 from BenTheElder/make-branch

define BRANCH to silence undefined variable warning
This commit is contained in:
Kubernetes Prow Robot
2024-05-20 21:56:44 -07:00
committed by GitHub

View File

@@ -33,10 +33,12 @@ endif
SHELL := /usr/bin/env bash -o errexit -o pipefail -o nounset
BASH_ENV := ./hack/lib/logging.sh
# Define variables so `make --warn-undefined-variables` works.
# Define optional user-input variables so `make --warn-undefined-variables` works.
# Usage is described below with each target that respects these
PRINT_HELP ?=
WHAT ?=
TESTS ?=
BRANCH ?=
# We don't need make's built-in rules.
MAKEFLAGS += --no-builtin-rules