Update get-helm-3

add quite switch to prevent output  like progress information in downloaded data

Signed-off-by: Marcel Humburg <Marcel.Humburg@protonmail.ch>
(cherry picked from commit 81362d9813)
release-3.13
Marcel Humburg 1 year ago committed by Matt Farina
parent 00a334c1d9
commit 8f554be39f

@ -113,7 +113,7 @@ checkDesiredVersion() {
if [ "${HAS_CURL}" == "true" ]; then if [ "${HAS_CURL}" == "true" ]; then
latest_release_response=$( curl -L --silent --show-error --fail "$latest_release_url" 2>&1 || true ) latest_release_response=$( curl -L --silent --show-error --fail "$latest_release_url" 2>&1 || true )
elif [ "${HAS_WGET}" == "true" ]; then 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 fi
TAG=$( echo "$latest_release_response" | grep '^v[0-9]' ) TAG=$( echo "$latest_release_response" | grep '^v[0-9]' )
if [ "x$TAG" == "x" ]; then if [ "x$TAG" == "x" ]; then

Loading…
Cancel
Save