From 6c2fe8fe6b0c7da4b7a0948d751d953a70048288 Mon Sep 17 00:00:00 2001 From: Kevin Harrington Date: Tue, 27 Feb 2024 09:21:10 -0500 Subject: [PATCH] add version number to PDF --- .github/workflows/main.yml | 1 + ZenCompetition.tex | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cff319f..88ed202 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,6 +19,7 @@ jobs: - run: echo $PWD - run: ls -al ./ - run: ls -al ../ + - run: sed -i 's/VERSIONNUMBER/${{ github.ref_name }}/g' ZenCompetition.tex - run: pdflatex -jobname=ZenCompetition-${{ github.ref_name }} ZenCompetition.tex - run: ls -al . - name: release diff --git a/ZenCompetition.tex b/ZenCompetition.tex index 894be75..ad085cf 100644 --- a/ZenCompetition.tex +++ b/ZenCompetition.tex @@ -9,6 +9,10 @@ \vspace{1cm} +{\huge \textbf{VERSIONNUMBER}} + +\vspace{1cm} + {\huge \textbf{Purpose}} \vspace{1cm}