Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
1105 Внедрение механизмов обеспечения безопасности цепочки поставки программных проектов
Legacy
scanned-projects
helm
Commits
5d95f419
Unverified
Commit
5d95f419
authored
6 years ago
by
Matthew Fisher
Committed by
GitHub
6 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #4403 from rimusz/fix-get-script
replace 'kubernetes' github org with `helm` one
parents
0a59f5fe
5a56449a
release-2.17
dev-v2
release-2.10
release-2.11
release-2.12
release-2.13
release-2.14
release-2.15
release-2.16
v2.17.0
v2.17.0-rc.1
v2.16.12
v2.16.11
v2.16.10
v2.16.9
v2.16.8
v2.16.7
v2.16.6
v2.16.5
v2.16.4
v2.16.3
v2.16.2
v2.16.1
v2.16.0
v2.16.0-rc.2
v2.16.0-rc.1
v2.15.2
v2.15.1
v2.15.0
v2.15.0-rc.2
v2.15.0-rc.1
v2.14.3
v2.14.2
v2.14.1
v2.14.0
v2.14.0-rc.2
v2.14.0-rc.1
v2.13.1
v2.13.1-rc.1
v2.13.0
v2.13.0-rc.2
v2.13.0-rc.1
v2.12.3
v2.12.2
v2.12.1
v2.12.0
v2.12.0-rc.2
v2.12.0-rc.1
v2.11.0
v2.11.0-rc.4
v2.11.0-rc.3
v2.11.0-rc.2
v2.11.0-rc.1
v2.10.0
v2.10.0-rc.3
v2.10.0-rc.2
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/get
+4
-4
scripts/get
with
4 additions
and
4 deletions
+4
-4
scripts/get
+
4
−
4
View file @
5d95f419
...
...
@@ -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"
if
!
echo
"
${
supported
}
"
|
grep
-q
"
${
OS
}
-
${
ARCH
}
"
;
then
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
fi
...
...
@@ -76,7 +76,7 @@ verifySupported() {
# checkDesiredVersion checks if the desired version is available.
checkDesiredVersion
()
{
# 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
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
...
...
@@ -155,7 +155,7 @@ fail_trap() {
else
echo
"Failed to install
$PROJECT_NAME
"
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
cleanup
exit
$result
...
...
@@ -182,7 +182,7 @@ help () {
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
()
{
if
[[
-d
"
${
HELM_TMP_ROOT
:-}
"
]]
;
then
rm
-rf
"
$HELM_TMP_ROOT
"
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets