Skip to content

Commit 860f354

Browse files
authored
Fix install-binary.sh to make plugin installation for v3.2.0 work
1 parent 034e2f2 commit 860f354

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

install-binary.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,8 @@ verifySupported() {
7070
# getDownloadURL checks the latest available version.
7171
getDownloadURL() {
7272
version=$(git -C "$HELM_PLUGIN_DIR" describe --tags --exact-match 2>/dev/null || :)
73-
if [ -n "$version" ] && [ "$version" -gt "3.1.3" ]; then
73+
if [ -n "$version" ]; then
7474
DOWNLOAD_URL="https://github.com/$PROJECT_GH/releases/download/$version/helm-diff-$OS-$ARCH.tgz"
75-
elif [ -n "$version" ]; then
76-
DOWNLOAD_URL="https://github.com/$PROJECT_GH/releases/download/$version/helm-diff-$OS.tgz"
7775
else
7876
# Use the GitHub API to find the download url for this project.
7977
url="https://api.github.com/repos/$PROJECT_GH/releases/latest"

0 commit comments

Comments
 (0)