mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 21:53:52 +00:00
Make verify-godeps check the results
This commit is contained in:
@@ -104,5 +104,12 @@ if ! _out="$(diff -Naupr --ignore-matching-lines='^\s*\"GoVersion\":' --ignore-m
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! _out="$(diff -Naupr ${KUBE_ROOT}/vendor ${_kubetmp}/vendor)"; then
|
||||||
|
echo "Your vendored results are different:"
|
||||||
|
echo "${_out}"
|
||||||
|
echo "Godeps Verify failed."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Godeps Verified."
|
echo "Godeps Verified."
|
||||||
# ex: ts=2 sw=2 et filetype=sh
|
# ex: ts=2 sw=2 et filetype=sh
|
||||||
|
Reference in New Issue
Block a user