staging: include generated code in godep verification

as we now commit up-to-date generated definitions in
apiextensions-apiserver
pull/564/head
Haowei Cai 2019-03-13 17:10:14 -07:00
parent df1ee5e778
commit 2fde54c1f3
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ pushd "${KUBE_ROOT}" > /dev/null 2>&1
ret=1
fi
if ! _out="$(diff -Naupr -x "BUILD" -x "zz_generated.openapi.go" -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