From dee56d5d272e8ac3aa2c9f7506beca06d4dba8b8 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Wed, 22 Apr 2020 13:06:20 +0200 Subject: [PATCH] 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 --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)" -- 2.30.2