Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 17920d1

Browse files
committed
fixup!
1 parent 8255fd2 commit 17920d1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/travis/build.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ if [ "$JOB" == "ci-checks" ]; then
99
grunt ci-checks
1010
if [[ $TRAVIS_PULL_REQUEST != 'false' ]]; then
1111
# validate commit messages of all commits in the PR
12-
yarn run commitplease -- $TRAVIS_COMMIT_RANGE
12+
# convert commit range to 2 dots, as commitplease uses `git log`.
13+
# See https://github.com/travis-ci/travis-ci/issues/4596 for more info
14+
echo "Validate commit messages in PR."
15+
yarn run commitplease -- "${TRAVIS_COMMIT_RANGE/.../..}"
1316
fi
1417
elif [ "$JOB" == "unit" ]; then
1518
if [ "$BROWSER_PROVIDER" == "browserstack" ]; then

0 commit comments

Comments
 (0)