From 6cded9bbcd89b167d41356bf0dbe8626703c529d Mon Sep 17 00:00:00 2001 From: Daniel Carbone Date: Tue, 19 Nov 2024 16:12:45 -0600 Subject: [PATCH] c'mon man --- scripts/unixish.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/unixish.sh b/scripts/unixish.sh index 2d2fa9a..3fa2d09 100755 --- a/scripts/unixish.sh +++ b/scripts/unixish.sh @@ -66,13 +66,17 @@ else fi # default to _something_... -_version="${YQ_VERSION:-'v4.44.3'}" +_version="${YQ_VERSION}" + +if [ -z "${YQ_VERSION}" ]; then + _version='v4.44.3' +fi _dl_url="${_base_url}/${_version}/${_dl_name}" echo '::endgroup::' -echo '::group::Downloading yq' +echo "::group::Downloading yq ${_version}" echo "Src: ${_dl_url}" echo "Dst: ${_dl_path}"