From b7178fa234eebdeb9bca7eb797a20b6a76ab6db1 Mon Sep 17 00:00:00 2001 From: Daniel Baston Date: Sun, 15 Sep 2024 14:22:20 +0200 Subject: [PATCH] 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. --- .readthedocs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index f296cd2114..2b9b49a2da 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -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