Skip to content

Commit

Permalink
fix helm
Browse files Browse the repository at this point in the history
  • Loading branch information
anlutro committed Oct 21, 2024
1 parent a7e6920 commit 8335508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/upgrade/helm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version="${1-}"
if [ -z "$version" ]; then
# exclude alpha/beta/rc, and always get highest version number (as opposed to
# most recent release by date)
version=$(gh_tags $repo | grep -P '\d+(\.\d+)*$' | sort -V | tail -1)
version=$(gh_tags $repo | grep -vF rc | grep -P '\d+(\.\d+)*$' | sort -V | tail -1)
fi
# strip "v" prefix
version=$(echo "$version" | grep -oP '\d+(\.\d+)*')
Expand Down

0 comments on commit 8335508

Please sign in to comment.