diff --git a/build.sh b/build.sh index 8f40aba8cbffa665bba82eae38c3e531be62b4ad..41bf86eb048dc06fd2981944bb0a11527df6d1a7 100755 --- a/build.sh +++ b/build.sh @@ -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