Skip to content

Commit

Permalink
Fixed git tag
Browse files Browse the repository at this point in the history
  • Loading branch information
xeroc committed Oct 29, 2015
1 parent 7ad9178 commit 064292c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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[%
Expand Down
2 changes: 1 addition & 1 deletion btswhitepaper.cls
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 064292c

Please sign in to comment.