build,travis: allow dash in package name
Signed-off-by: Paul Spooren <paul@spooren.de>
This commit is contained in:
parent
df1f3a41c8
commit
bd8b66ec16
1 changed files with 1 additions and 1 deletions
|
@ -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)"
|
||||
|
|
Loading…
Reference in a new issue