Browse Source

build,travis: accept commits with '_'

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
lilik-openwrt-22.03
Etienne Champetier 7 years ago
parent
commit
eb127abc0f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      .travis_do.sh

+ 1
- 1
.travis_do.sh View File

@ -158,7 +158,7 @@ test_commits() {
fi fi
subject="$(git show -s --format=%s $commit)" 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)" 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…
Cancel
Save