Skip to content

Commit 91b75e9

Browse files
Only include tags that start with "v" to avoid catching pre-release.
1 parent 4096e58 commit 91b75e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ DIR="$( cd -P "$( dirname "$SOURCE" )/.." && pwd )"
1212
cd "$DIR"
1313

1414
# Get latest tag
15-
VERSION=$(git describe --abbrev=0 --tags)
15+
VERSION=$(git describe --abbrev=0 --tags --match="v.*")
1616

1717
# Determine the arch/os combos we're building for
1818
XC_ARCH=${XC_ARCH:-"386 amd64 arm"}

0 commit comments

Comments
 (0)