Skip to content

Commit

Permalink
Docs: Handle long commit messages in [skip ci] example (#11601)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaston authored Sep 17, 2024
1 parent b5eaf5d commit c5004d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/user/build-customization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ This other example shows how to cancel a build if the commit message contains ``
post_checkout:
# Use `git log` to check if the latest commit contains "skip ci",
# in that case exit the command with 183 to cancel the build
- (git --no-pager log --pretty="tformat:%s -- %b" -1 | grep -viq "skip ci") || exit 183
- (git --no-pager log --pretty="tformat:%s -- %b" -1 | paste -s -d " " | grep -viq "skip ci") || exit 183
Generate documentation from annotated sources with Doxygen
Expand Down

0 comments on commit c5004d3

Please sign in to comment.