Skip to content
Snippets Groups Projects
Verified Commit 544b949a authored by Dmytro Bogatov's avatar Dmytro Bogatov :two_hearts:
Browse files

Make url from build hash.

parent 0300b633
Branches
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ artifacts:
stage: build
script:
- ./install-font-debian.sh
- printf "%s" $CI_BUILD_REF | cut -c1-8 > version.tex
- printf "\providecommand{\version}{%s}" $CI_BUILD_REF | cut -c1-8 > version.tex
- ./build.sh
- mv dist/*.pdf .
artifacts:
......
......@@ -2,6 +2,7 @@
\documentclass{beamer}
\input{version}
\input{preamble}
\begin{document}
......
......@@ -4,7 +4,7 @@
\subtitle{Discussion}
\date{Built from \emph{\input{version}} on \today}
\date{Built from \href{https://git.dbogatov.org/bu/PathORAM-Talk/commit/\version}{\emph{\version}} on \today}
\author{Dmytro Bogatov \\ dmytro@bu.edu}
......
local-dev
\providecommand{\version}{local-dev}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment