Skip to content

Commit

Permalink
Update helm.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
kw1knode authored Mar 14, 2024
1 parent 095885b commit 30ab678
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 30ab678

Please sign in to comment.