Skip to content
Snippets Groups Projects
Commit 8fc56a4e authored by migu's avatar migu
Browse files

fix bug in build script

Get the date from the passed revision.
parent 0cdf475c
No related branches found
No related tags found
1 merge request!7Tagging PDFs before publishing
Pipeline #23730 passed
......@@ -6,7 +6,7 @@ if [[ $# -ne 1 ]]; then
fi
revision="$1"
commit_date=$(git show -s --format=%ci $CI_COMMIT_SHA | cut -c1-10)
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment