From 30ab67846395947580189e9fabe4ce61e4992929 Mon Sep 17 00:00:00 2001 From: Nodeify Date: Thu, 14 Mar 2024 13:24:33 -0700 Subject: [PATCH] Update helm.yaml --- .github/workflows/helm.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/helm.yaml b/.github/workflows/helm.yaml index b6152ab..7c3d57d 100644 --- a/.github/workflows/helm.yaml +++ b/.github/workflows/helm.yaml @@ -36,10 +36,7 @@ jobs: - name: Download release asset run: | - REPO_OWNER=$(echo "${{ github.repository }}" | cut -d '/' -f 1) - REPO_NAME=$(echo "${{ github.repository }}" | cut -d '/' -f 2) - RELEASE_ID=$(echo "${{ github.event.release.id }}") - RELEASE_URL="https://api.github.com/repos/${REPO_OWNER}/${REPO_NAME}/releases/${RELEASE_ID}" + RELEASE_URL=$(curl -s https://api.github.com/repos/pinax-network/helm-charts/releases/latest | jq -r '.url') echo "Release URL: $RELEASE_URL" ASSET_URL=$(curl -s $RELEASE_URL | jq -r '.assets[] | select(.name | endswith(".tgz")).browser_download_url') echo "Asset URL: $ASSET_URL"