From b375d008a16d7a5ff8d43dc99819d85b60173b8f Mon Sep 17 00:00:00 2001 From: David Gamero Date: Tue, 22 Jul 2025 19:37:51 +0000 Subject: [PATCH] Update helm version retrieval to use JSON output for latest version --- .github/workflows/integration-tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 9392612..c4e3284 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -76,7 +76,8 @@ jobs: --repo helm/helm \ --exclude-drafts \ --exclude-pre-releases \ - --limit 1 | awk '{print $4}') + --json name,isLatest \ + --jq '.[] | select(.isLatest)|.name' | awk '{print $2}' if [[ $(helm version) != *$HELM_LATEST* ]]; then echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN $HELM_LATEST"