Skip to content

Commit

Permalink
CI: Fix ReadTheDocs test for [ci skip] with multiline commit messages
Browse files Browse the repository at this point in the history
git log will emit a blank line which passes the grep -v test and
prevents exiting.
  • Loading branch information
dbaston committed Sep 14, 2024
1 parent 5999d8b commit 161b159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 161b159

Please sign in to comment.