mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-11-23 16:33:51 +08:00
Update action.yml
This commit is contained in:
parent
5a0bb26204
commit
1fcdaff272
@ -74,7 +74,7 @@ runs:
|
||||
run: |
|
||||
if [[ ${{ startsWith(inputs.ref, 'refs/tags/') }} ]]; then
|
||||
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"
|
||||
fi
|
||||
shell: bash
|
||||
|
Loading…
Reference in New Issue
Block a user