diff options
author | Petr Kraus <petr_kraus@email.cz> | 2019-08-15 20:28:30 +0200 |
---|---|---|
committer | Mark Lobodzinski <mark@lunarg.com> | 2019-08-16 10:09:00 -0600 |
commit | 1cfe7a99d6e72035a8c197d4adb8148fe9be8e08 (patch) | |
tree | a3566bc57178b75cd6fec0aa8aebc82192a526de /scripts | |
parent | 94f8b70b49b1d7e8e10f3c04827bafc7f9d9707c (diff) | |
download | vulkan-validation-layers-1cfe7a99d6e72035a8c197d4adb8148fe9be8e08.tar.gz |
ci: Exclude commits not related to PR
see https://github.com/travis-ci/travis-ci/issues/4596
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/check_commit_message_format.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/check_commit_message_format.sh b/scripts/check_commit_message_format.sh index 4eb5de8b7..c7f942b6e 100755 --- a/scripts/check_commit_message_format.sh +++ b/scripts/check_commit_message_format.sh @@ -30,6 +30,7 @@ NC='\033[0m' # No Color # Get user-supplied commit message text for applicable commits and insert # a unique separator string identifier. The git command returns ONLY the # subject line and body for each of the commits. +TRAVIS_COMMIT_RANGE="${TRAVIS_COMMIT_RANGE/.../..}" COMMIT_TEXT=$(git log ${TRAVIS_COMMIT_RANGE} --pretty=format:"XXXNEWLINEXXX"%n%B) # Bail if there are none |