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
9476fcc1
Unverified
Commit
9476fcc1
authored
Mar 13, 2018
by
Matthew Fisher
Committed by
GitHub
Mar 13, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3666 from bacongobbler/fix-get
remove "This Repository" link from releases page
parents
fe9d3653
0935384b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
get
scripts/get
+1
-1
No files found.
scripts/get
View file @
9476fcc1
...
@@ -78,7 +78,7 @@ checkDesiredVersion() {
...
@@ -78,7 +78,7 @@ 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/kubernetes/helm/releases/
${
DESIRED_VERSION
:-
latest
}
"
if
type
"curl"
>
/dev/null
;
then
if
type
"curl"
>
/dev/null
;
then
TAG
=
$(
curl
-SsL
$release_url
|
awk
'/\/tag\//'
|
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
TAG
=
$(
wget
-q
-O
-
$release_url
|
awk
'/\/tag\//'
|
cut
-d
'"'
-f
2 |
awk
'{n=split($NF,a,"/");print a[n]}'
|
awk
'a !~ $0{print}; {a=$0}'
)
TAG
=
$(
wget
-q
-O
-
$release_url
|
awk
'/\/tag\//'
|
cut
-d
'"'
-f
2 |
awk
'{n=split($NF,a,"/");print a[n]}'
|
awk
'a !~ $0{print}; {a=$0}'
)
fi
fi
...
...
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