add release version to source archive filename

This commit is contained in:
Kenneth Bingham 2025-02-24 12:54:01 -05:00
parent 9df45f3004
commit 2b276197fa
No known key found for this signature in database
GPG Key ID: 31709281860130B6
2 changed files with 4 additions and 4 deletions

View File

@ -38,8 +38,8 @@ jobs:
- name: Get Source Archive
shell: bash
run: |
curl -sSLf -o source.tar.gz \
https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/source.tar.gz
curl -sSLf -o source-${{ github.ref_name }}.tar.gz \
https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/source-${{ github.ref_name }}.tar.gz
- name: Verify Source Archive Checksum
shell: bash
@ -58,7 +58,7 @@ jobs:
with:
formula-name: zrok
formula-path: Formula/z/zrok.rb
download-url: https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/source.tar.gz
download-url: https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/source-${{ github.ref_name }}.tar.gz
download-sha256: ${{ steps.source.outputs.sha256 }}
homebrew-tap: ${{ vars.ZROK_BREW_TAP || 'Homebrew/homebrew-core' }}
env:

View File

@ -272,7 +272,7 @@ jobs:
- name: Fetch Source Archive
shell: bash
run: |
curl -sSLf -o ./automated-release-build/source.tar.gz \
curl -sSLf -o ./automated-release-build/source-${{ github.ref_name }}.tar.gz \
https://api.github.com/repos/${{ github.repository }}/tarball/${{ github.ref_name }}
- uses: actions/download-artifact@v4