From be523b2a2f8cc116a574647cac550c043c24a03f Mon Sep 17 00:00:00 2001 From: Gerhard Lausser Date: Sat, 7 Oct 2023 20:47:47 +0200 Subject: [PATCH] Update v-tag-to-release.yml --- .github/workflows/v-tag-to-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/v-tag-to-release.yml b/.github/workflows/v-tag-to-release.yml index 5f54f8d..29ac81d 100644 --- a/.github/workflows/v-tag-to-release.yml +++ b/.github/workflows/v-tag-to-release.yml @@ -17,7 +17,7 @@ jobs: run: | # Use the 'replace' function to remove the "v" from the tag TAG="${{ github.ref }}" - TAG_WITHOUT_V="${TAG#"v"}" + TAG_WITHOUT_V="${TAG#refs/tags/v}" echo "Extracted tag: $TAG_WITHOUT_V" echo "::set-output name=tag_without_v::$TAG_WITHOUT_V" - name: Show the modified tag