From 9fb6fb335c18dc387811739bf345c889b9ed5ec9 Mon Sep 17 00:00:00 2001 From: tijmen Date: Mon, 29 Jun 2026 15:59:26 +0200 Subject: [PATCH 1/2] pass ref_name as variable --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 48c21673..f115c8ca 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: with: fetch-depth: 0 - name: Verify version matches release tag - run: bin/check-version + run: bin/check-version ${{ github.ref_name }} - name: WordPress Plugin Deploy id: deploy uses: tinify/action-wordpress-plugin-deploy@stable From ca2a25e4096d4a91c8ba1448a3add3cac10a8ee5 Mon Sep 17 00:00:00 2001 From: tijmen Date: Mon, 29 Jun 2026 16:08:38 +0200 Subject: [PATCH 2/2] use release tag --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f115c8ca..bb2daaf7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: with: fetch-depth: 0 - name: Verify version matches release tag - run: bin/check-version ${{ github.ref_name }} + run: bin/check-version ${{ github.event.release.tag_name }} - name: WordPress Plugin Deploy id: deploy uses: tinify/action-wordpress-plugin-deploy@stable