1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 11:29:58 +03:00

Merge pull request #10135 from mikeller/fix_documentation_check_in_ci

Fixed the check if only documentation was changed in Travis.
This commit is contained in:
Michael Keller 2020-08-26 20:21:15 +12:00 committed by GitHub
commit d0cd96dc5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,7 +41,7 @@ before_install:
COMMIT_RANGE="$TRAVIS_COMMIT_RANGE"
fi
FILE_LIST=$(git diff --name-only $COMMIT_RANGE)
echo $FILE_LIST | grep -qvE '(\.md$)|(^(docs|support))/' || {
echo "$FILE_LIST" | grep -qvE '(\.md$)|(^(docs|support))/' || {
echo "Only files not used in the build process were updated, aborting."
exit
}