From 2fcd677ba978f09012367090fa45401d513e269a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arttu=20Yl=C3=A4-Outinen?= Date: Mon, 14 Mar 2016 12:41:41 +0200 Subject: [PATCH] Add commit date to output of kvazaar --version --- tools/version.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/version.sh b/tools/version.sh index 2a0d2cca..ead072df 100755 --- a/tools/version.sh +++ b/tools/version.sh @@ -5,6 +5,7 @@ cd .. if type git >/dev/null 2>/dev/null && [ -d .git ]; then version="$(git describe --dirty --tags --match 'v*')" + version="${version} $(git log -1 --pretty=format:%cd --date=short)" else version="v$(awk '/#define KVZ_VERSION/ { print $3 }' src/global.h)" fi