Update build.yml
This commit is contained in:
parent
311157e0e6
commit
f68fe9953f
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user