diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 9392612..8b812db 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"