Skip to content

Commit f362e5e

Browse files
committed
Fix invalid tag
1 parent 4b75215 commit f362e5e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/version-common.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
set -eu
44

5-
VERSION=$(git describe --tags | cut -d '+' -f1)
5+
git fetch --tags --force
6+
7+
VERSION=$(git describe --tags --abbrev=0 | cut -d '+' -f1)
68
REV_COUNT=""
79
INTERNAL_VERSION=""
810

0 commit comments

Comments
 (0)