2 parents b46bee3 + 14242d8 commit 32c1f2cCopy full SHA for 32c1f2c
1 file changed
.github/workflows/build.yml
@@ -77,7 +77,7 @@ jobs:
77
fetch-depth: 0
78
- id: version
79
run: |
80
- TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
+ TAG=$(git tag --sort=-v:refname | head -n 1)
81
if [ -n "$TAG" ]; then
82
VERSION=${TAG#v} # remove leading 'v'
83
else
0 commit comments