Skip to content

Commit

Permalink
Merge pull request #13 from bluebosh/tls
Browse files Browse the repository at this point in the history
Need to append arch suffix
  • Loading branch information
EmilyEmily authored Dec 24, 2019
2 parents 968840b + 3a0d931 commit f68d652
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions install-binary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ getDownloadURL() {
local version
version=$(git -C "$HELM_PLUGIN_DIR" describe --tags --exact-match 2>/dev/null || true)
if [ -n "$version" ]; then
DOWNLOAD_URL="https://github.com/${PROJECT_GH}/releases/download/${version}/helm-update-config_${OS}"
DOWNLOAD_URL="https://github.com/${PROJECT_GH}/releases/download/${version}/helm-update-config_${OS}_${ARCH}"
else
# Use the GitHub API to find the download url for this project.
local url="https://api.github.com/repos/$PROJECT_GH/releases/latest"
Expand All @@ -79,9 +79,9 @@ downloadFile() {
PLUGIN_TMP_FILE="/tmp/${PROJECT_NAME}"
echo "Downloading $DOWNLOAD_URL"
if type "curl" > /dev/null; then
curl -L "$DOWNLOAD_URL" -o "$PLUGIN_TMP_FILE"
curl -L "$DOWNLOAD_URL" -o "$PLUGIN_TMP_FILE" > /dev/null
elif type "wget" > /dev/null; then
wget -q -O "$PLUGIN_TMP_FILE" "$DOWNLOAD_URL"
wget -q -O "$PLUGIN_TMP_FILE" "$DOWNLOAD_URL" > /dev/null
fi
}

Expand Down
2 changes: 1 addition & 1 deletion plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "update-config"
version: "0.6.0"
version: "0.6.1"
usage: "update config of a running release"
description: Update configuration values of a running release.
ignoreFlags: false
Expand Down

0 comments on commit f68d652

Please sign in to comment.