build: Unbreak version.sh
This commit is contained in:
parent
a2ac499c05
commit
b8a3534a41
|
@ -3,4 +3,4 @@
|
||||||
LC_ALL=C
|
LC_ALL=C
|
||||||
export LC_ALL
|
export LC_ALL
|
||||||
|
|
||||||
git describe --exact-match --tags $(git log -n1 --pretty='%h') 2>/dev/null || git log -n1 --pretty='%h' | sed 's/^v//g' | xargs printf '%s'
|
( git describe --exact-match --tags $(git log -n1 --pretty='%h') 2>/dev/null || git log -n1 --pretty='%h' ) | sed 's/^v//g' | xargs printf '%s'
|
||||||
|
|
Loading…
Reference in New Issue