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 <sebastian_ml@gmx.net>
This commit is contained in:
parent
bf49bc560b
commit
dee56d5d27
|
@ -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 '<package name>: ' ($subject)"
|
||||
|
|
Loading…
Reference in New Issue