Skip to content
Snippets Groups Projects
Commit b8d7376c authored by Chessmaster's avatar Chessmaster
Browse files

add possibility for other tag names

parent 2dcdeabf
No related branches found
No related tags found
Loading
Pipeline #27966 failed
......@@ -6,7 +6,8 @@ if [[ $# -ne 1 ]]; then
fi
revision="$1"
version=$(echo $revision | grep -Po 'v[0-9.]*')
commit_date=$(git show -s --format=%ci ${revision} | cut -c1-10)
asciidoctor-pdf -a revnumber=${revision} -a revdate=${commit_date} -o angelguide_en.pdf guide.adoc
asciidoctor-pdf -a revnumber=${revision} -a revdate=${commit_date} -o angelguide_de.pdf -a lang=de guide.adoc
asciidoctor-pdf -a revnumber=${version} -a revdate=${commit_date} -o angelguide_en.pdf guide.adoc
asciidoctor-pdf -a revnumber=${version} -a revdate=${commit_date} -o angelguide_de.pdf -a lang=de guide.adoc
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment