mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +00:00
Add commit date to output of kvazaar --version
This commit is contained in:
parent
42641cdb5e
commit
2fcd677ba9
|
@ -5,6 +5,7 @@ cd ..
|
||||||
|
|
||||||
if type git >/dev/null 2>/dev/null && [ -d .git ]; then
|
if type git >/dev/null 2>/dev/null && [ -d .git ]; then
|
||||||
version="$(git describe --dirty --tags --match 'v*')"
|
version="$(git describe --dirty --tags --match 'v*')"
|
||||||
|
version="${version} $(git log -1 --pretty=format:%cd --date=short)"
|
||||||
else
|
else
|
||||||
version="v$(awk '/#define KVZ_VERSION/ { print $3 }' src/global.h)"
|
version="v$(awk '/#define KVZ_VERSION/ { print $3 }' src/global.h)"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue