Skip to content

Commit

Permalink
Merge pull request #19 from LesTR/master
Browse files Browse the repository at this point in the history
Fix getting the version for binary downloads.
  • Loading branch information
mbenabda authored May 31, 2023
2 parents f8e7775 + ff708bf commit b631ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install-binary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ getDownloadURL() {
exit 1
fi

local version=$(git describe --tags --exact-match 2>/dev/null | sed s/^v//)
local version=$(git -C "$HELM_PLUGIN_DIR" describe --tags --exact-match 2>/dev/null | sed s/^v//)
if [ -n "$version" ]; then
DOWNLOAD_URL="https://github.com/${PROJECT_GH}/releases/download/v${version}/${PROJECT_NAME}-${version}-${OS}-${ARCH}.tar.gz"
else
Expand Down

0 comments on commit b631ff3

Please sign in to comment.