From ad89a719aaad7791a8a0f528c478c157d01c0f35 Mon Sep 17 00:00:00 2001 From: Kenneth Bingham Date: Mon, 24 Feb 2025 14:07:01 -0500 Subject: [PATCH] fix regex --- .github/workflows/homebrew.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/homebrew.yml b/.github/workflows/homebrew.yml index 70c63c01..072d0ec4 100644 --- a/.github/workflows/homebrew.yml +++ b/.github/workflows/homebrew.yml @@ -50,7 +50,7 @@ jobs: id: source shell: bash run: | - CHECKSUM=$(grep -E '\bsource\.tar\.gz$' checksums.sha256.txt | cut -d' ' -f1) + CHECKSUM=$(grep -E "\bsource-${{ github.ref_name }}\.tar\.gz$" checksums.sha256.txt | cut -d' ' -f1) echo "sha256=${CHECKSUM}" | tee -a "$GITHUB_OUTPUT" - name: Upload Release Source Archive to Homebrew