Skip to content

Commit

Permalink
fix latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
vbehar committed May 7, 2020
1 parent 846e0b5 commit 23c2af3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install_plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if [ -n "${HELM_LINTER_PLUGIN_NO_INSTALL_HOOK}" ]; then
exit 0
fi

version="$(git describe --tags --exact-match 2>/dev/null)"
version="$(git describe --tags $(git rev-list --tags --max-count=1) 2>/dev/null)"
if [ -n "$version" ]; then
version="${version:1}"
else
Expand Down

0 comments on commit 23c2af3

Please sign in to comment.