Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
5d95f419
Unverified
Commit
5d95f419
authored
Jul 31, 2018
by
Matthew Fisher
Committed by
GitHub
Jul 31, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4403 from rimusz/fix-get-script
replace 'kubernetes' github org with `helm` one
parents
0a59f5fe
5a56449a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
get
scripts/get
+4
-4
No files found.
scripts/get
View file @
5d95f419
...
@@ -63,7 +63,7 @@ verifySupported() {
...
@@ -63,7 +63,7 @@ verifySupported() {
local
supported
=
"darwin-386
\n
darwin-amd64
\n
linux-386
\n
linux-amd64
\n
linux-arm
\n
linux-arm64
\n
linux-ppc64le
\n
windows-386
\n
windows-amd64"
local
supported
=
"darwin-386
\n
darwin-amd64
\n
linux-386
\n
linux-amd64
\n
linux-arm
\n
linux-arm64
\n
linux-ppc64le
\n
windows-386
\n
windows-amd64"
if
!
echo
"
${
supported
}
"
|
grep
-q
"
${
OS
}
-
${
ARCH
}
"
;
then
if
!
echo
"
${
supported
}
"
|
grep
-q
"
${
OS
}
-
${
ARCH
}
"
;
then
echo
"No prebuilt binary for
${
OS
}
-
${
ARCH
}
."
echo
"No prebuilt binary for
${
OS
}
-
${
ARCH
}
."
echo
"To build from source, go to https://github.com/
kubernetes
/helm"
echo
"To build from source, go to https://github.com/
helm
/helm"
exit
1
exit
1
fi
fi
...
@@ -76,7 +76,7 @@ verifySupported() {
...
@@ -76,7 +76,7 @@ verifySupported() {
# checkDesiredVersion checks if the desired version is available.
# checkDesiredVersion checks if the desired version is available.
checkDesiredVersion
()
{
checkDesiredVersion
()
{
# Use the GitHub releases webpage for the project to find the desired version for this project.
# Use the GitHub releases webpage for the project to find the desired version for this project.
local
release_url
=
"https://github.com/
kubernetes
/helm/releases/
${
DESIRED_VERSION
:-
latest
}
"
local
release_url
=
"https://github.com/
helm
/helm/releases/
${
DESIRED_VERSION
:-
latest
}
"
if
type
"curl"
>
/dev/null
;
then
if
type
"curl"
>
/dev/null
;
then
TAG
=
$(
curl
-SsL
$release_url
|
awk
'/\/tag\//'
|
grep
-v
no-underline |
cut
-d
'"'
-f
2 |
awk
'{n=split($NF,a,"/");print a[n]}'
|
awk
'a !~ $0{print}; {a=$0}'
)
TAG
=
$(
curl
-SsL
$release_url
|
awk
'/\/tag\//'
|
grep
-v
no-underline |
cut
-d
'"'
-f
2 |
awk
'{n=split($NF,a,"/");print a[n]}'
|
awk
'a !~ $0{print}; {a=$0}'
)
elif
type
"wget"
>
/dev/null
;
then
elif
type
"wget"
>
/dev/null
;
then
...
@@ -155,7 +155,7 @@ fail_trap() {
...
@@ -155,7 +155,7 @@ fail_trap() {
else
else
echo
"Failed to install
$PROJECT_NAME
"
echo
"Failed to install
$PROJECT_NAME
"
fi
fi
echo
-e
"
\t
For support, go to https://github.com/
kubernetes
/helm."
echo
-e
"
\t
For support, go to https://github.com/
helm
/helm."
fi
fi
cleanup
cleanup
exit
$result
exit
$result
...
@@ -182,7 +182,7 @@ help () {
...
@@ -182,7 +182,7 @@ help () {
echo
-e
"
\t
e.g. --version v2.4.0 or -v latest"
echo
-e
"
\t
e.g. --version v2.4.0 or -v latest"
}
}
# cleanup temporary files to avoid https://github.com/
kubernetes
/helm/issues/2977
# cleanup temporary files to avoid https://github.com/
helm
/helm/issues/2977
cleanup
()
{
cleanup
()
{
if
[[
-d
"
${
HELM_TMP_ROOT
:-}
"
]]
;
then
if
[[
-d
"
${
HELM_TMP_ROOT
:-}
"
]]
;
then
rm
-rf
"
$HELM_TMP_ROOT
"
rm
-rf
"
$HELM_TMP_ROOT
"
...
...
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