Skip to content

Commit

Permalink
fix: Try removing refs/tags/
Browse files Browse the repository at this point in the history
  • Loading branch information
spydon committed Nov 12, 2023
1 parent 8549c9f commit 85f793a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ runs:
- name: 'Extract tag info'
if: ${{ inputs.publish == 'true' }}
run: |
PACKAGE_NAME=$(sed -E 's/([a-z0-9_]+)-v([0-9]+\.[0-9]+\.[0-9]+)/\1/' <<< "${{ github.ref }}") && \
PACKAGE_NAME=$(sed -E 's/refs\/tags\/([a-z0-9_]+)-v([0-9]+\.[0-9]+\.[0-9]+)/\1/' <<< "${{ github.ref }}") && \
echo "Tag name prefix: $PACKAGE_NAME"
shell: bash
- name: 'Installs the Dart SDK and sets up the pipeline for usage with pub.dev (this sets up OIDC)'
Expand Down

0 comments on commit 85f793a

Please sign in to comment.