1
0
Fork 0
mirror of synced 2024-06-02 10:34:43 +12:00

Fix tag logic

This commit is contained in:
James DiGioia 2021-01-10 19:07:50 -05:00 committed by GitHub
parent beb0502fb4
commit 8cdf43ec37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,8 +55,8 @@ jobs:
- name: Get publish tag
id: publish
run: |
if [[ $GITHUB_REF != refs/tags/* ]]; then
TAG="${GITHUB_REF##*/}"
if [[ $GITHUB_REF == refs/tags/* ]]; then
TAG="${GITHUB_REF#refs/tags/}"
else
TAG=$GITHUB_SHA
fi