5
0
Fork 0
mirror of https://github.com/Azure/setup-helm.git synced 2025-12-27 11:08:17 +00:00

Trying #232 fix to verify build.

Signed-off-by: Tatsat Mishra <tamishra@microsoft.com>
This commit is contained in:
Tatsat Mishra 2025-11-19 12:15:53 +13:00
parent 3f311ac090
commit 699e1ceeb1
No known key found for this signature in database
GPG key ID: 314561C38E2C59F4

View file

@ -79,12 +79,7 @@ jobs:
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |
HELM_LATEST=$(gh release list \ HELM_LATEST=$(curl -s https://get.helm.sh/helm-latest-version)
--repo helm/helm \
--exclude-drafts \
--exclude-pre-releases \
--json name,isLatest \
--jq '.[] | select(.isLatest)|.name' | awk '{print $2}')
if [[ $(helm version) != *$HELM_LATEST* ]]; then if [[ $(helm version) != *$HELM_LATEST* ]]; then
echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN $HELM_LATEST" echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN $HELM_LATEST"