Skip to content

Commit

Permalink
Make install script more cross-compatible (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdolitsky committed Jul 17, 2018
1 parent 57a5f8a commit d065ec4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/install_plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ version="$(cat plugin.yaml | grep "version" | cut -d '"' -f 2)"
echo "Downloading and installing helm-push v${version} ..."

url=""
if [ "$(uname)" == "Darwin" ]; then
if [ "$(uname)" = "Darwin" ]; then
url="https://github.com/chartmuseum/helm-push/releases/download/v${version}/helm-push_${version}_darwin_amd64.tar.gz"
elif [ "$(uname)" == "Linux" ] ; then
elif [ "$(uname)" = "Linux" ] ; then
url="https://github.com/chartmuseum/helm-push/releases/download/v${version}/helm-push_${version}_linux_amd64.tar.gz"
else
url="https://github.com/chartmuseum/helm-push/releases/download/v${version}/helm-push_${version}_windows_amd64.tar.gz"
Expand Down

0 comments on commit d065ec4

Please sign in to comment.