Merge pull request #4626 from aparcar/patch-2

build,travis: allow dash in package name
This commit is contained in:
champtar 2017-07-25 10:40:54 -07:00 committed by GitHub
commit 0ec29f082d

View file

@ -121,7 +121,7 @@ test_commits() {
fi
subject="$(git show -s --format=%s $commit)"
if echo "$subject" | grep -q '^[0-9A-Za-z,]\+: '; then
if echo "$subject" | grep -q '^[0-9A-Za-z,-]\+: '; then
echo_green "Commit subject line seems ok ($subject)"
else
echo_red "Commit subject line MUST start with '<package name>: ' ($subject)"