Skip to content

Commit

Permalink
fix file extension
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksandar Stojanov <[email protected]>
  • Loading branch information
losisin committed Oct 24, 2023
1 parent c4eb219 commit d9232b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install-binary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit d9232b9

Please sign in to comment.