Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
2afe5178
Commit
2afe5178
authored
Nov 17, 2015
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #17383 from mikedanese/get-build-cleanup
Auto commit by PR queue bot
parents
a10a2f0e
91de3a12
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
get-build.sh
hack/get-build.sh
+3
-3
No files found.
hack/get-build.sh
View file @
2afe5178
...
...
@@ -65,16 +65,16 @@ if [[ $# -ne 1 ]]; then
exit
1
fi
set_binary_version
${
1
}
set_binary_version
"
${
1
}
"
if
[[
"
${
print_version
}
"
==
"true"
]]
;
then
echo
"
${
KUBE_VERSION
}
"
else
echo
"Using version at
${
1
}
:
${
KUBE_VERSION
}
"
>
&2
if
[[
${
KUBE_VERSION
}
=
~
${
KUBE_RELEASE_VERSION_REGEX
}
]]
;
then
curl
--fail
-o
kubernetes-
${
KUBE_VERSION
}
.tar.gz
"https://storage.googleapis.com/kubernetes-release/release/
${
KUBE_VERSION
}
/kubernetes.tar.gz
"
curl
--fail
-o
"kubernetes-
${
KUBE_VERSION
}
.tar.gz"
"
${
KUBE_RELEASE_BUCKET_URL
}
/release/
${
KUBE_VERSION
}
/
${
KUBE_TAR_NAME
}
"
elif
[[
${
KUBE_VERSION
}
=
~
${
KUBE_CI_VERSION_REGEX
}
]]
;
then
curl
--fail
-o
kubernetes-
${
KUBE_VERSION
}
.tar.gz
"https://storage.googleapis.com/kubernetes-release/ci/
${
KUBE_VERSION
}
/kubernetes.tar.gz
"
curl
--fail
-o
"kubernetes-
${
KUBE_VERSION
}
.tar.gz"
"
${
KUBE_RELEASE_BUCKET_URL
}
/ci/
${
KUBE_VERSION
}
/
${
KUBE_TAR_NAME
}
"
else
echo
"Version doesn't match regexp"
>
&2
exit
1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment