build-utils/travis-apidoc.sh: ignore README.md in diff (#1390)

This commit is contained in:
Daniel Hahler 2017-01-13 14:35:31 +01:00 committed by GitHub
parent 5dc88da3bd
commit f35dc57c5b
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ git checkout -b merged-update
# Create a patch without irrelevant changes (version / timestamp).
diff -Nur . ../doc -I "Last updated" -I "<strong>Release</strong>:" \
-I "<h2>API documentation for awesome, a highly configurable X window manager (version .*)\.</h2>" \
-x .git | patch -p1
-x .git -x README.md | patch -p1
git add --all .
if git diff --cached --exit-code --quiet; then