mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 10:20:51 +00:00
permit self-assignment line for clarity and also fear of touching get-kube.sh
This commit is contained in:
parent
bf3df26efd
commit
64ed5964d5
@ -190,6 +190,7 @@ if [[ -z "${KUBERNETES_SKIP_RELEASE_VALIDATION-}" ]]; then
|
|||||||
if [[ ${KUBE_VERSION} =~ ${KUBE_RELEASE_VERSION_REGEX} ]]; then
|
if [[ ${KUBE_VERSION} =~ ${KUBE_RELEASE_VERSION_REGEX} ]]; then
|
||||||
# Use KUBERNETES_RELEASE_URL for Releases and Pre-Releases
|
# Use KUBERNETES_RELEASE_URL for Releases and Pre-Releases
|
||||||
# ie. 1.18.0 or 1.19.0-beta.0
|
# ie. 1.18.0 or 1.19.0-beta.0
|
||||||
|
# shellcheck disable=SC2269 # this line is a noop but it helps with reading
|
||||||
KUBERNETES_RELEASE_URL="${KUBERNETES_RELEASE_URL}"
|
KUBERNETES_RELEASE_URL="${KUBERNETES_RELEASE_URL}"
|
||||||
elif [[ ${KUBE_VERSION} =~ ${KUBE_CI_VERSION_REGEX} ]]; then
|
elif [[ ${KUBE_VERSION} =~ ${KUBE_CI_VERSION_REGEX} ]]; then
|
||||||
# Override KUBERNETES_RELEASE_URL to point to the CI bucket;
|
# Override KUBERNETES_RELEASE_URL to point to the CI bucket;
|
||||||
|
Loading…
Reference in New Issue
Block a user