Skip to content

Commit 8335508

Browse files
committed
fix helm
1 parent a7e6920 commit 8335508

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/upgrade/helm.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ version="${1-}"
88
if [ -z "$version" ]; then
99
# exclude alpha/beta/rc, and always get highest version number (as opposed to
1010
# most recent release by date)
11-
version=$(gh_tags $repo | grep -P '\d+(\.\d+)*$' | sort -V | tail -1)
11+
version=$(gh_tags $repo | grep -vF rc | grep -P '\d+(\.\d+)*$' | sort -V | tail -1)
1212
fi
1313
# strip "v" prefix
1414
version=$(echo "$version" | grep -oP '\d+(\.\d+)*')

0 commit comments

Comments
 (0)