Ignore godep version used to created Godep.json

pull/6/head
Eric Paris 2016-05-10 09:58:08 -04:00
parent ad3e18d60c
commit b4f5108d39
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ git init > /dev/null 2>&1
hack/godep-save.sh
# Test for diffs
if ! _out="$(diff -Naupr --ignore-matching-lines='^\s*\"GoVersion\":' --ignore-matching-lines='^\s*\"Comment\":' ${KUBE_ROOT}/Godeps/Godeps.json ${_kubetmp}/Godeps/Godeps.json)"; then
if ! _out="$(diff -Naupr --ignore-matching-lines='^\s*\"GoVersion\":' --ignore-matching-line='^\s*\"GodepVersion\":' --ignore-matching-lines='^\s*\"Comment\":' ${KUBE_ROOT}/Godeps/Godeps.json ${_kubetmp}/Godeps/Godeps.json)"; then
echo "Your Godeps.json is different:"
echo "${_out}"
exit 1