mirror of
https://github.com/helm/helm.git
synced 2026-05-28 04:35:48 -04:00
Update comment in function
This commit is contained in:
parent
6adf7d59de
commit
18fc8a8539
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ verifySupported() {
|
|||
|
||||
# checkLatestVersion checks the latest available version.
|
||||
checkLatestVersion() {
|
||||
# Use the GitHub API to find the latest version for this project.
|
||||
# Use the GitHub releases webpage for the project to find the latest version for this project.
|
||||
local latest_url="https://github.com/kubernetes/helm/releases/latest"
|
||||
if type "curl" > /dev/null; then
|
||||
TAG=$(curl -SsL $latest_url | awk '/\/tag\//' | head -n 1 | cut -d '"' -f 2 | awk '{n=split($NF,a,"/");print a[n]}')
|
||||
|
|
|
|||
Loading…
Reference in a new issue