Update build.yml

This commit is contained in:
Max W. 2024-03-02 23:33:18 +01:00
parent 311157e0e6
commit f68fe9953f

View File

@ -14,7 +14,8 @@ jobs:
- name: Extract tag name
run: |
GIT_TAG=$(git describe --tags --always)
echo git fetch --tags
GIT_TAG=$(git tag --points-at HEAD)
echo "GIT_TAG: $GIT_TAG"
if [[ "$GIT_TAG" == v* ]]; then
TAG_NAME=${GIT_TAG#v}