Force tags for the version
parent
dc39c636a4
commit
cd71432e39
|
@ -33,7 +33,7 @@ git rev-parse --show-toplevel >/dev/null 2>&1 || {
|
|||
}
|
||||
|
||||
version=$(
|
||||
git describe --match='v[0-9]\.*' --abbrev=7 HEAD 2>/dev/null \
|
||||
git describe --tags --match='v[0-9]\.*' --abbrev=7 HEAD 2>/dev/null \
|
||||
| sed 's/^v//'
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue