We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 034e2f2 commit 860f354Copy full SHA for 860f354
install-binary.sh
@@ -70,10 +70,8 @@ verifySupported() {
70
# getDownloadURL checks the latest available version.
71
getDownloadURL() {
72
version=$(git -C "$HELM_PLUGIN_DIR" describe --tags --exact-match 2>/dev/null || :)
73
- if [ -n "$version" ] && [ "$version" -gt "3.1.3" ]; then
+ if [ -n "$version" ]; then
74
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"
77
else
78
# Use the GitHub API to find the download url for this project.
79
url="https://api.github.com/repos/$PROJECT_GH/releases/latest"
0 commit comments