1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-20 21:32:06 +02: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

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