From 18fc8a853911c4fdbd068628496fb081279fb273 Mon Sep 17 00:00:00 2001 From: Jorge Marin Date: Tue, 25 Apr 2017 08:26:22 +0000 Subject: [PATCH] Update comment in function --- scripts/get | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/get b/scripts/get index aabdedc68..a52a0a9a1 100755 --- a/scripts/get +++ b/scripts/get @@ -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]}')