From 86b058c3f13e70710e93f35bdd983ca3deecc953 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 20 May 2019 18:11:17 +0300 Subject: Change: use git describe for document date (version) --- Makefile | 3 +++ ci-arch.html | 2 +- ci-arch.mdwn | 2 +- ci-arch.pdf | Bin 284609 -> 284585 bytes 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 138ad48..9769fe5 100644 --- a/Makefile +++ b/Makefile @@ -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 \ diff --git a/ci-arch.html b/ci-arch.html index 90b7049..533d898 100644 --- a/ci-arch.html +++ b/ci-arch.html @@ -17,7 +17,7 @@

Thoughts on WMF CI architecture

Lars Wirzenius, Release Enginering

-

work in progress, draft 1 for review

+

WORK IN PROGRESS