Commit f348bd3b authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #43342 from fejta/release

Automatic merge from submit-queue Export KUBE_VERSION for consumption by get-kube-binaries.sh /assign @ixdy https://github.com/kubernetes/kubernetes/pull/43331 will not have any effect until we update get-kube.sh to export KUBE_VERSION
parents 8752bfb5 cb9452f8
...@@ -81,9 +81,9 @@ KUBE_CI_VERSION_REGEX="^v(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)-(be ...@@ -81,9 +81,9 @@ KUBE_CI_VERSION_REGEX="^v(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)-(be
# KUBE_VERSION # KUBE_VERSION
function set_binary_version() { function set_binary_version() {
if [[ "${1}" =~ "/" ]]; then if [[ "${1}" =~ "/" ]]; then
KUBE_VERSION=$(curl -fL "https://dl.k8s.io/${1}.txt") export KUBE_VERSION=$(curl -fL "https://dl.k8s.io/${1}.txt")
else else
KUBE_VERSION=${1} export KUBE_VERSION=${1}
fi fi
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment