Update action.yml

This commit is contained in:
Tonye Jack 2021-04-24 22:54:22 -04:00 committed by GitHub
parent 055227d872
commit 8f0fb44e37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ runs:
run: | run: |
if [[ "${{ github.ref }}" == "refs/tags/"* ]]; then if [[ "${{ github.ref }}" == "refs/tags/"* ]]; then
export REF=${{ github.ref }} export REF=${{ github.ref }}
TAG=${REF/refs\/tags\${{ inputs.strip_tag_prefix }}//} TAG=${REF/refs\/tags\/${{ inputs.strip_tag_prefix }}/}
echo "::set-output name=tag::$TAG" echo "::set-output name=tag::$TAG"
fi fi
shell: bash shell: bash