Update action.yml

This commit is contained in:
Tonye Jack 2021-04-24 20:08:35 -04:00 committed by GitHub
parent 5a0bb26204
commit 1fcdaff272
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ runs:
run: | run: |
if [[ ${{ startsWith(inputs.ref, 'refs/tags/') }} ]]; then if [[ ${{ startsWith(inputs.ref, 'refs/tags/') }} ]]; then
export REF=${{ inputs.ref }} export REF=${{ inputs.ref }}
TAG=$(echo "${REF/refs\/tags\//}" | sed 's/${{ inputs.strip_tag_prefix }}//') TAG=$(echo "${REF/refs\/tags\//}" | sed "s/${{ inputs.strip_tag_prefix }}//")
echo "::set-output name=tag::$TAG" echo "::set-output name=tag::$TAG"
fi fi
shell: bash shell: bash