Skip to content

Commit 32c1f2c

Browse files
committed
Merge branch 'dev'
2 parents b46bee3 + 14242d8 commit 32c1f2c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
fetch-depth: 0
7878
- id: version
7979
run: |
80-
TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
80+
TAG=$(git tag --sort=-v:refname | head -n 1)
8181
if [ -n "$TAG" ]; then
8282
VERSION=${TAG#v} # remove leading 'v'
8383
else

0 commit comments

Comments
 (0)