From: Sebastian Kemper Date: Wed, 22 Apr 2020 11:06:20 +0000 (+0200) Subject: circleci: allow dots in subject line X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F522%2Fhead;p=feed%2Ftelephony.git circleci: allow dots in subject line We like to use "kamailio-5.x:" and "asterisk-16.x:" in commit message subject lines. So relax the regex for it to allow the dots. Signed-off-by: Sebastian Kemper --- diff --git a/.circleci/config.yml b/.circleci/config.yml index 2f2c412..75813a4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -40,7 +40,7 @@ jobs: fi subject="$(git show -s --format=%s $commit)" - if echo "$subject" | grep -q -e '^[0-9A-Za-z,+/_-]\+: ' -e '^Revert '; then + if echo "$subject" | grep -q -e '^[0-9A-Za-z,.+/_-]\+: ' -e '^Revert '; then echo_green "Commit subject line seems ok ($subject)" else echo_red "Commit subject line MUST start with ': ' ($subject)"