fix: Use git tags for version numbers. (#233)
This commit is contained in:
@@ -8,7 +8,7 @@ LF='
|
||||
'
|
||||
|
||||
if test -d .git -o -f .git &&
|
||||
VN=$(git describe --abbrev=4 HEAD 2>/dev/null) &&
|
||||
VN=$(git describe --abbrev=0 --tags 2>/dev/null) &&
|
||||
case "$VN" in
|
||||
*$LF*) (exit 1) ;;
|
||||
v[0-9]*)
|
||||
|
||||
Reference in New Issue
Block a user