Enforce OWNERS file in Godeps and vendor dirs

This commit is contained in:
Christoph Blecker
2018-02-15 13:30:30 -08:00
parent d3bcd367ec
commit a11ea4e45f
2 changed files with 11 additions and 2 deletions

View File

@@ -101,7 +101,7 @@ pushd "${KUBE_ROOT}" 2>&1 > /dev/null
ret=1
fi
if ! _out="$(diff -Naupr -x "BUILD" -x "OWNERS" -x "AUTHORS*" -x "CONTRIBUTORS*" vendor ${_kubetmp}/vendor)"; then
if ! _out="$(diff -Naupr -x "BUILD" -x "AUTHORS*" -x "CONTRIBUTORS*" vendor ${_kubetmp}/vendor)"; then
echo "Your vendored results are different:" >&2
echo "${_out}" >&2
echo "Godeps Verify failed." >&2