Fix helm latest version retrieval command syntax

This commit is contained in:
David Gamero
2025-07-22 19:52:56 +00:00
committed by GitHub
parent b375d008a1
commit 8a3c06fb8b

View File

@ -77,7 +77,7 @@ jobs:
--exclude-drafts \
--exclude-pre-releases \
--json name,isLatest \
--jq '.[] | select(.isLatest)|.name' | awk '{print $2}'
--jq '.[] | select(.isLatest)|.name' | awk '{print $2}')
if [[ $(helm version) != *$HELM_LATEST* ]]; then
echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN $HELM_LATEST"