From e5cab9097376ae27bf9bd4982f58a08749c353a7 Mon Sep 17 00:00:00 2001 From: Jeffrey Mesa Date: Tue, 9 Jan 2024 10:11:50 -0400 Subject: [PATCH] ci: use correct tag name (#159) --- .github/workflows/sub-cloudrun-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sub-cloudrun-deploy.yml b/.github/workflows/sub-cloudrun-deploy.yml index 507fd479..05551b2c 100644 --- a/.github/workflows/sub-cloudrun-deploy.yml +++ b/.github/workflows/sub-cloudrun-deploy.yml @@ -61,7 +61,7 @@ jobs: - name: Check if release matches package version if: ${{ github.event_name == 'release' }} run: | - if [[ "${{ steps.get.outputs.result }}" != "$(jq -r .version package.json)" ]]; then + if [[ "${{ github.ref_name }}" != "$(jq -r .version package.json)" ]]; then echo "Release number must match package version" exit 1 fi