From 907dd4c7553383d7103533f5328aae2be8ab502d Mon Sep 17 00:00:00 2001 From: Matthew Shafer Date: Wed, 20 Jan 2021 16:34:44 -0800 Subject: [PATCH] The release tag starts with refs/tags/ so remove to get the tag name --- .github/workflows/create_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index b9f3fb4..626f4a2 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -17,7 +17,7 @@ jobs: - name: Setup ENV id: custom-env run: | - export CIRCUITBOX_VERSION=$(echo ${RELEASE_TAG} | cut -c2-) + export CIRCUITBOX_VERSION=$(echo ${RELEASE_TAG#refs/tags/} | cut -c2-) echo "::set-output name=gem_filename::circuitbox-${CIRCUITBOX_VERSION}.gem" if echo $CIRCUITBOX_VERSION | grep -q "pre"