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:
parent
5999d8b87c
commit
161b159790
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue