From 2b276197fad441aaf77877201c9b6fa60c1c7992 Mon Sep 17 00:00:00 2001 From: Kenneth Bingham Date: Mon, 24 Feb 2025 12:54:01 -0500 Subject: [PATCH] add release version to source archive filename --- .github/workflows/homebrew.yml | 6 +++--- .github/workflows/release.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/homebrew.yml b/.github/workflows/homebrew.yml index 5b12dde8..70c63c01 100644 --- a/.github/workflows/homebrew.yml +++ b/.github/workflows/homebrew.yml @@ -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: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f6340e28..410baee5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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