Skip to content

Commit

Permalink
Signed-off-by: rimas <[email protected]>
Browse files Browse the repository at this point in the history
  • Loading branch information
rimusz committed Mar 5, 2021
1 parent 7723790 commit 6aacd87
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/install_plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ echo "Downloading and installing helm-2to3 v${version} ..."

url=""
if [ "$(uname)" = "Darwin" ]; then
url="https://github.com/helm/helm-2to3/releases/download/v${version}/helm-2to3_${version}_darwin_amd64.tar.gz"
if [ "$(uname -m)" = "arm64" ]; then
url="https://github.com/helm/helm-2to3/releases/download/v${version}/helm-2to3_${version}_darwin_arm64.tar.gz"
else
url="https://github.com/helm/helm-2to3/releases/download/v${version}/helm-2to3_${version}_darwin_amd64.tar.gz"
fi
elif [ "$(uname)" = "Linux" ] ; then
if [ "$(uname -m)" = "aarch64" ] || [ "$(uname -m)" = "arm64" ]; then
url="https://github.com/helm/helm-2to3/releases/download/v${version}/helm-2to3_${version}_linux_arm64.tar.gz"
Expand Down

0 comments on commit 6aacd87

Please sign in to comment.