Skip to content

Commit

Permalink
The release tag starts with refs/tags/ so remove to get the tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewshafer committed Jan 21, 2021
1 parent 33df666 commit 907dd4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 907dd4c

Please sign in to comment.