From d56ca8f3943c79a45d0a3b4533e950fcca587c75 Mon Sep 17 00:00:00 2001 From: Ronen Lubin Date: Thu, 6 Mar 2025 09:40:47 +0200 Subject: [PATCH] when pushing tag take the ref name not the whole ref --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5f8720d..92abbfb 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -24,7 +24,7 @@ jobs: run: | echo "tag=${{ github.event.inputs.version }}" >> $GITHUB_OUTPUT if [ -z "${{ github.event.inputs.version }}" ]; then - echo "tag=${{ github.ref }}" >> $GITHUB_OUTPUT + echo "tag=${{ github.ref_name }}" >> $GITHUB_OUTPUT fi - name: Update version of npm package env: