summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lwirzenius@wikimedia.org>2019-05-20 18:11:17 +0300
committerLars Wirzenius <lwirzenius@wikimedia.org>2019-05-20 18:11:17 +0300
commit86b058c3f13e70710e93f35bdd983ca3deecc953 (patch)
tree2c16245b9487aafdedc8b19efb5a64c0496d33b6
parent08d33c97433ca4f758ecdd045db8bb1dac925387 (diff)
downloadwmf-ci-arch-86b058c3f13e70710e93f35bdd983ca3deecc953.tar.gz
Change: use git describe for document date (version)
-rw-r--r--Makefile3
-rw-r--r--ci-arch.html2
-rw-r--r--ci-arch.mdwn2
-rw-r--r--ci-arch.pdfbin284609 -> 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 @@
<header>
<h1 class="title">Thoughts on WMF CI architecture</h1>
<p class="author">Lars Wirzenius, Release Enginering</p>
-<p class="date">work in progress, draft 1 for review</p>
+<p class="date">WORK IN PROGRESS</p>
</header>
<nav id="TOC">
<ul>
diff --git a/ci-arch.mdwn b/ci-arch.mdwn
index 3b365c5..19d6ee5 100644
--- a/ci-arch.mdwn
+++ b/ci-arch.mdwn
@@ -1,7 +1,7 @@
---
title: "Thoughts on WMF CI architecture"
author: Lars Wirzenius, Release Enginering
-date: work in progress, draft 1 for review
+date: WORK IN PROGRESS
abstract: |
The release engineering team is working on replacing the WMF CI
system. The existing CI system needs to be
diff --git a/ci-arch.pdf b/ci-arch.pdf
index 038cf80..2cab238 100644
--- a/ci-arch.pdf
+++ b/ci-arch.pdf
Binary files differ