From 064292c863f4eebd275bb304d00cc505f5fb3d39 Mon Sep 17 00:00:00 2001 From: Fabian Schuh Date: Thu, 29 Oct 2015 21:55:49 +0100 Subject: [PATCH] Fixed git tag --- README.md | 2 +- btswhitepaper.cls | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4b3a9dd..555e5c2 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ The LaTeX-git watermark requires the following `post-commit`, `post-merge`, and # Get the first tag found in the history from the current HEAD FIRSTTAG=$(git describe --tags --always --dirty='-*' 2>/dev/null) # Get the first tag in history that looks like a Release - RELTAG=$(git describe --tags --long --always --dirty='-*' --match '[0-9]*.*' 2>/dev/null) + RELTAG=$(git describe --tags --long --always --dirty='-*' 2>/dev/null) # Hoover up the metadata git --no-pager log -1 --date=short --decorate=short \ --pretty=format:"\usepackage[% diff --git a/btswhitepaper.cls b/btswhitepaper.cls index a2a1fe9..ed1b43f 100644 --- a/btswhitepaper.cls +++ b/btswhitepaper.cls @@ -144,7 +144,7 @@ %% ----------------------------- %% Headers %% ----------------------------- -\newcommand{\gitline}{\raisebox{2ex}{\color{lightgray}Release: \gitDescribe{} (\gitAuthorDate)}} +\newcommand{\gitline}{\raisebox{2ex}{\color{lightgray}Release: \gitDescribe\ (\gitAuthorDate)}} \fancypagestyle{wp}{% \fancyhf{} \fancyhead[R]{{\color{black}\sffamily\thepage}\draftcode}