build,travis: allow '/' in the start of the commit
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
This commit is contained in:
parent
0ec29f082d
commit
af076a65c0
|
@ -121,7 +121,7 @@ test_commits() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
subject="$(git show -s --format=%s $commit)"
|
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)"
|
echo_green "Commit subject line seems ok ($subject)"
|
||||||
else
|
else
|
||||||
echo_red "Commit subject line MUST start with '<package name>: ' ($subject)"
|
echo_red "Commit subject line MUST start with '<package name>: ' ($subject)"
|
||||||
|
|
Loading…
Reference in New Issue