From d9232b9ffbb7c2cd7267451a775686421e33b658 Mon Sep 17 00:00:00 2001 From: Aleksandar Stojanov Date: Tue, 24 Oct 2023 23:42:20 +0200 Subject: [PATCH] fix file extension Signed-off-by: Aleksandar Stojanov --- install-binary.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-binary.sh b/install-binary.sh index 501ba5e..714275b 100755 --- a/install-binary.sh +++ b/install-binary.sh @@ -75,7 +75,7 @@ getDownloadURL() { fi # Setup Download Url - DOWNLOAD_URL="https://github.com/${PROJECT_GH}/releases/download/${version}/${PROJECT_NAME}-${OS}_${ARCH}-${version#v}.tar.gz" + DOWNLOAD_URL="https://github.com/${PROJECT_GH}/releases/download/${version}/${PROJECT_NAME}-${OS}_${ARCH}-${version#v}.tgz" } # downloadFile downloads the latest binary package and also the checksum @@ -95,7 +95,7 @@ downloadFile() { # installFile unpacks and installs the file installFile() { cd "/tmp" - DOWNLOAD_FILE=$(find ./_dist -name "*.tar.gz") + DOWNLOAD_FILE=$(find ./_dist -name "*.tgz") HELM_TMP="/tmp/$PROJECT_NAME" mkdir -p "$HELM_TMP" tar xf "$DOWNLOAD_FILE" -C "$HELM_TMP"