Skip to content

Commit 71337e5

Browse files
authored
Merge pull request #51 from kujenga/install-version-fix
fix install-binary.sh version specification
2 parents 242ab78 + f08e5e7 commit 71337e5

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
@@ -67,7 +67,7 @@ verifySupported() {
6767
# getDownloadURL checks the latest available version.
6868
getDownloadURL() {
6969
local url="https://api.github.com/repos/$PROJECT_GH/releases/latest"
70-
local version=$(git describe --tags --exact-match 2>/dev/null)
70+
local version=$(git -C $HELM_PLUGIN_PATH describe --tags --exact-match 2>/dev/null)
7171
if [ -n "$version" ]; then
7272
url="https://api.github.com/repos/$PROJECT_GH/releases/tags/$version"
7373
fi

0 commit comments

Comments
 (0)