From 833550834c3a222aec9018322a1e2dc4883af382 Mon Sep 17 00:00:00 2001 From: Andreas Lutro Date: Mon, 21 Oct 2024 12:33:29 +0200 Subject: [PATCH] fix helm --- scripts/upgrade/helm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade/helm.sh b/scripts/upgrade/helm.sh index f7b0a0e..4bee789 100755 --- a/scripts/upgrade/helm.sh +++ b/scripts/upgrade/helm.sh @@ -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+)*')