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

fix grep parameter (shell not bash)

parent b8d7376c
No related branches found
No related tags found
No related merge requests found
Pipeline #27968 failed
......@@ -6,7 +6,7 @@ if [[ $# -ne 1 ]]; then
fi
revision="$1"
version=$(echo $revision | grep -Po 'v[0-9.]*')
version=$(echo $revision | grep -Eo 'v[0-9.]*')
commit_date=$(git show -s --format=%ci ${revision} | cut -c1-10)
asciidoctor-pdf -a revnumber=${version} -a revdate=${commit_date} -o angelguide_en.pdf 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