ci: Fixed tag extraction

This commit is contained in:
Geoff Bourne 2020-11-25 16:06:01 -06:00
parent aa43926da2
commit b7bcd252d3

View File

@ -22,7 +22,7 @@ jobs:
DOCKER_IMAGE=itzg/minecraft-server
VERSION=edge
if [[ $GITHUB_REF == refs/tags/* ]]; then
VERSION=${GITHUB_REF#refs/tags/v}
VERSION=${GITHUB_REF#refs/tags/}
fi
if [[ $GITHUB_REF == refs/heads/* ]]; then
VERSION=${GITHUB_REF#refs/heads/}