Merge pull request #79 from loarca/main

Update 'current_branch' output to strip tag prefix
This commit is contained in:
Tonye Jack 2021-08-22 21:11:58 -04:00 committed by GitHub
commit f3dbd2f628
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ runs:
fi fi
else else
REF=${{ github.ref }} REF=${{ github.ref }}
REF_BRANCH=${REF/refs\/tags\//} REF_BRANCH=${REF/refs\/tags\/${{ inputs.strip_tag_prefix }}/}
echo "::set-output name=current_branch::$REF_BRANCH" echo "::set-output name=current_branch::$REF_BRANCH"
fi fi
shell: bash shell: bash