]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
build: add tag date in changelog
authorVincent Bernat <bernat@luffy.cx>
Mon, 7 Jan 2013 21:56:07 +0000 (22:56 +0100)
committerVincent Bernat <bernat@luffy.cx>
Mon, 7 Jan 2013 21:56:07 +0000 (22:56 +0100)
Makefile.am

index d51087cacb3bc6d718bfcc0081c4228ad02e35ce..45a570e0107c5bfc3737a4ee2040cc3c78e17b4b 100644 (file)
@@ -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 "" ; \