Skip to content

Commit 20028d2

Browse files
authored
Follow-up for #224 (#225)
1 parent a224fd0 commit 20028d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install-binary.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ verifySupported() {
6969

7070
# getDownloadURL checks the latest available version.
7171
getDownloadURL() {
72-
version=$(git -C "$HELM_PLUGIN_DIR" describe --tags --exact-match 2>/dev/null)
72+
version=$(git -C "$HELM_PLUGIN_DIR" describe --tags --exact-match 2>/dev/null || :)
7373
if [ -n "$version" ]; then
7474
DOWNLOAD_URL="https://github.com/$PROJECT_GH/releases/download/$version/helm-diff-$OS.tgz"
7575
else

0 commit comments

Comments
 (0)