diff options
author | Lars Wirzenius <lwirzenius@wikimedia.org> | 2019-05-20 18:11:17 +0300 |
---|---|---|
committer | Lars Wirzenius <lwirzenius@wikimedia.org> | 2019-05-20 18:11:17 +0300 |
commit | 86b058c3f13e70710e93f35bdd983ca3deecc953 (patch) | |
tree | 2c16245b9487aafdedc8b19efb5a64c0496d33b6 /Makefile | |
parent | 08d33c97433ca4f758ecdd045db8bb1dac925387 (diff) | |
download | wmf-ci-arch-86b058c3f13e70710e93f35bdd983ca3deecc953.tar.gz |
Change: use git describe for document date (version)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,3 +1,5 @@ +version = $(shell git describe --tags HEAD) + .SUFFIXES: .html .mdwn .pdf .dot .svg all: ci-arch.html ci-arch.pdf @@ -12,6 +14,7 @@ ci-arch.pdf ci-arch.html: ci-arch.mdwn ecosystem.svg pipeline.svg .mdwn.pdf: pandoc --toc -f markdown+implicit_figures -Vdocumentclass:report \ + "-Vdate:$(version)" \ -Vfontsize:12pt \ -Vmainfont:FreeSerif \ -Vsansfont:FreeSans \ |