We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cbef7b commit b450001Copy full SHA for b450001
hack/verify-vendor.sh
@@ -48,11 +48,9 @@ function cleanup {
48
kube::util::trap_add cleanup EXIT
49
50
# Copy the contents of the kube directory into the nice clean place (which is NOT shaped like a GOPATH)
51
-_kubetmp="${_tmpdir}"
+_kubetmp="${_tmpdir}/kubernetes"
52
mkdir -p "${_kubetmp}"
53
-# should create ${_kubectmp}/kubernetes
54
-git archive --format=tar --prefix=kubernetes/ "$(git write-tree)" | (cd "${_kubetmp}" && tar xf -)
55
-_kubetmp="${_kubetmp}/kubernetes"
+tar --exclude=.git --exclude="./_*" -c . | (cd "${_kubetmp}" && tar xf -)
56
57
# Do all our work in module mode
58
export GO111MODULE=on
0 commit comments