Skip to content

Commit

Permalink
Merge pull request helm#12519 from MarHum26/patch-1
Browse files Browse the repository at this point in the history
fix version retrieval of get-helm-3
  • Loading branch information
mattfarina authored Nov 7, 2023
2 parents d65990e + 81362d9 commit 65088ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/get-helm-3
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ checkDesiredVersion() {
if [ "${HAS_CURL}" == "true" ]; then
latest_release_response=$( curl -L --silent --show-error --fail "$latest_release_url" 2>&1 || true )
elif [ "${HAS_WGET}" == "true" ]; then
latest_release_response=$( wget "$latest_release_url" -O - 2>&1 || true )
latest_release_response=$( wget "$latest_release_url" -q -O - 2>&1 || true )
fi
TAG=$( echo "$latest_release_response" | grep '^v[0-9]' )
if [ "x$TAG" == "x" ]; then
Expand Down

0 comments on commit 65088ad

Please sign in to comment.