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
eeff9079
Commit
eeff9079
authored
Sep 05, 2019
by
Steven Cipriano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
In get script, use specified path to helm binary for helm version check
Signed-off-by:
Steven Cipriano
<
cipriano@squareup.com
>
parent
3ed073b2
Hide 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 @
eeff9079
...
@@ -94,7 +94,7 @@ checkDesiredVersion() {
...
@@ -94,7 +94,7 @@ checkDesiredVersion() {
# if it needs to be changed.
# if it needs to be changed.
checkHelmInstalledVersion
()
{
checkHelmInstalledVersion
()
{
if
[[
-f
"
${
HELM_INSTALL_DIR
}
/
${
PROJECT_NAME
}
"
]]
;
then
if
[[
-f
"
${
HELM_INSTALL_DIR
}
/
${
PROJECT_NAME
}
"
]]
;
then
local
version
=
$(
helm
version
-c
|
grep
'^Client'
|
cut
-d
'"'
-f2
)
local
version
=
$(
"
${
HELM_INSTALL_DIR
}
/
${
PROJECT_NAME
}
"
version
-c
|
grep
'^Client'
|
cut
-d
'"'
-f2
)
if
[[
"
$version
"
==
"
$TAG
"
]]
;
then
if
[[
"
$version
"
==
"
$TAG
"
]]
;
then
echo
"Helm
${
version
}
is already
${
DESIRED_VERSION
:-
latest
}
"
echo
"Helm
${
version
}
is already
${
DESIRED_VERSION
:-
latest
}
"
return
0
return
0
...
...
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