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 authored and rouault committed Sep 15, 2024
1 parent 0a40732 commit b7178fa
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:
- ./docs/rtd/pre_build.sh
- ./scripts/doxygen.sh
Expand Down

0 comments on commit b7178fa

Please sign in to comment.