CircleCI: Allow '+' in package name subject check
authorTed Hess <thess@kitschensync.net>
Sat, 15 Dec 2018 16:34:19 +0000 (11:34 -0500)
committerTed Hess <thess@kitschensync.net>
Sat, 15 Dec 2018 16:34:19 +0000 (11:34 -0500)
Signed-off-by: Ted Hess <thess@kitschensync.net>
.circleci/config.yml

index 854dd619a616686931865e3f04bd21ec85434f11..13a77ed50e1b1344d0cae7a6ebe008c287450708 100644 (file)
@@ -39,7 +39,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 '<package name>: ' ($subject)"