diff options
author | Justin R. Miller <incanus@codesorcery.net> | 2015-11-13 15:21:54 -0800 |
---|---|---|
committer | Justin R. Miller <incanus@codesorcery.net> | 2015-11-13 15:21:54 -0800 |
commit | e2e5b380fb9178e3a7bbefab3e2be57b5c9a6bf9 (patch) | |
tree | 41bf5540b2f1e2705180e552c3e24a51087c9c93 /bitrise.yml | |
parent | 8e6b9a0d965eaa173a6d2cf55658b3ee74d2e3c3 (diff) | |
download | qtlocation-mapboxgl-e2e5b380fb9178e3a7bbefab3e2be57b5c9a6bf9.tar.gz |
also look in commit bodies for CI skipping commands
[skip ci] (see what I did there?)
Diffstat (limited to 'bitrise.yml')
-rw-r--r-- | bitrise.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bitrise.yml b/bitrise.yml index 90b3f4f258..7694f10f4a 100644 --- a/bitrise.yml +++ b/bitrise.yml @@ -22,8 +22,10 @@ workflows: - content: |- #!/bin/bash - if [[ -n "$(echo $GIT_CLONE_COMMIT_MESSAGE_SUBJECT | sed -n '/\[skip ci\]/p')" || - -n "$(echo $GIT_CLONE_COMMIT_MESSAGE_SUBJECT | sed -n '/\[ci skip\]/p')" ]]; then + if [[ -n "$(echo $GIT_CLONE_COMMIT_MESSAGE_SUBJECT | sed -n '/\[skip ci\]/p')" || + -n "$(echo $GIT_CLONE_COMMIT_MESSAGE_SUBJECT | sed -n '/\[ci skip\]/p')" || + -n "$(echo $GIT_CLONE_COMMIT_MESSAGE_BODY | sed -n 's/\[skip ci\]/p')" || + -n "$(echo $GIT_CLONE_COMMIT_MESSAGE_BODY | sed -n 's/\[ci skip\]/p')" ]]; then envman add --key SKIPCI --value true else envman add --key SKIPCI --value false |