From: Vincent Bernat Date: Mon, 7 Jan 2013 21:56:07 +0000 (+0100) Subject: build: add tag date in changelog X-Git-Tag: 0.7.1~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e8e0fd4324a06fa5997e2b2c464a87e471cc12e;p=thirdparty%2Flldpd.git build: add tag date in changelog --- diff --git a/Makefile.am b/Makefile.am index d51087ca..45a570e0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -17,7 +17,7 @@ ChangeLog: force-changelog-generation for tag in $$(git tag | grep -E '^[0-9]+(\.[0-9]+){1,}$$' | sort -rn); do \ if [ x"$$prev" = x ]; then prev=$$tag ; fi ; \ if [ x"$$prev" = x"$$tag" ]; then continue; fi ; \ - echo "$$prev:" ; \ + echo "$$prev [$$(git log $$prev -1 --pretty=format:'%ai')]:" ; \ echo "" ; \ git log --pretty=' - [%h] %s (%an)' $$tag..$$prev ; \ echo "" ; \