test: Small nitpicks with messages
This commit is contained in:
@@ -40,11 +40,11 @@ test_commit_message() {
|
|||||||
echo Testing commit message $1
|
echo Testing commit message $1
|
||||||
if ! git log --format=%s $1 | head -n 1 | grep -q "$travis_regex"
|
if ! git log --format=%s $1 | head -n 1 | grep -q "$travis_regex"
|
||||||
then
|
then
|
||||||
echo "Commit message should follow the following regex: '$travis_regex'"
|
echo "FAIL: Commit message should match the following regex: '$travis_regex'"
|
||||||
echo
|
echo
|
||||||
echo "e.g:"
|
echo "eg:"
|
||||||
echo "prometheus: implement rest api"
|
echo "prometheus: Implement rest api"
|
||||||
echo "resources: svc: fix a race condition with reloads"
|
echo "resources: svc: Fix a race condition with reloads"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user