mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 12:07:47 +00:00
Ignore OWNERS files in hack/verify-api-reference-docs.sh
This commit is contained in:
parent
570c17a3b8
commit
562b7e5f85
@ -36,7 +36,7 @@ trap "rm -rf ${TMP_ROOT}" EXIT SIGINT
|
|||||||
|
|
||||||
echo "diffing ${API_REFERENCE_DOCS_ROOT} against freshly generated docs"
|
echo "diffing ${API_REFERENCE_DOCS_ROOT} against freshly generated docs"
|
||||||
ret=0
|
ret=0
|
||||||
diff -NauprB -I 'Last update' --exclude=*.md "${API_REFERENCE_DOCS_ROOT}" "${OUTPUT_DIR}" || ret=$?
|
diff -NauprB -I 'Last update' --exclude=*.md --exclude=OWNERS "${API_REFERENCE_DOCS_ROOT}" "${OUTPUT_DIR}" || ret=$?
|
||||||
if [[ $ret -eq 0 ]]
|
if [[ $ret -eq 0 ]]
|
||||||
then
|
then
|
||||||
echo "${API_REFERENCE_DOCS_ROOT} up to date."
|
echo "${API_REFERENCE_DOCS_ROOT} up to date."
|
||||||
|
Loading…
Reference in New Issue
Block a user