ignore trailing whitespace and blankline when verify api reference docs
This commit is contained in:
@@ -35,7 +35,7 @@ TMP_ROOT="${KUBE_ROOT}/_tmp"
|
||||
|
||||
echo "diffing ${API_REFERENCE_DOCS_ROOT} against freshly generated docs"
|
||||
ret=0
|
||||
diff -Naupr -I 'Last update' --exclude=*.md "${API_REFERENCE_DOCS_ROOT}" "${OUTPUT_DIR}" || ret=$?
|
||||
diff -NauprBZ -I 'Last update' --exclude=*.md "${API_REFERENCE_DOCS_ROOT}" "${OUTPUT_DIR}" || ret=$?
|
||||
rm -rf "${TMP_ROOT}"
|
||||
if [[ $ret -eq 0 ]]
|
||||
then
|
||||
|
Reference in New Issue
Block a user