CI: Fix ReadTheDocs test for [ci skip] with multiline commit messages

git log will emit a blank line which passes the grep -v test and
prevents exiting.
This commit is contained in:
Daniel Baston 2024-09-14 17:41:23 -04:00
parent 5999d8b87c
commit 161b159790
No known key found for this signature in database
GPG Key ID: 0013D0A75214FCFA
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ build:
jobs:
post_checkout:
- (git --no-pager log --pretty="tformat:%s -- %b" -1 | grep -viqP "skip ci|ci skip") || exit 183
- (git --no-pager log --pretty="tformat:%s -- %b" -1 | paste -s -d " " | grep -viqP "skip ci|ci skip") || exit 183
pre_build:
- ./doc/rtd/pre_build.sh
- cd doc && make doxygen generated_rst_files