mirror of https://github.com/k3s-io/k3s
Do not build genconversion and gendeepcopy twice
The hack/after-build/verify-* functions were using the hack/update-* functions. Which means that if you call hack/verify-* you will do the build twice. Stop it.pull/6/head
parent
f620b0d53d
commit
ce6f2c8e4b
|
@ -37,7 +37,7 @@ for APIROOT in ${APIROOTS}; do
|
|||
cp -a "${KUBE_ROOT}/${APIROOT}" "${_tmp}/${APIROOT}"
|
||||
done
|
||||
|
||||
"${KUBE_ROOT}/hack/update-generated-conversions.sh"
|
||||
"${KUBE_ROOT}/hack/after-build/update-generated-conversions.sh"
|
||||
for APIROOT in ${APIROOTS}; do
|
||||
TMP_APIROOT="${_tmp}/${APIROOT}"
|
||||
echo "diffing ${APIROOT} against freshly generated conversions"
|
||||
|
|
|
@ -39,7 +39,7 @@ for APIROOT in ${APIROOTS}; do
|
|||
cp -a "${KUBE_ROOT}/${APIROOT}" "${_tmp}/${APIROOT}"
|
||||
done
|
||||
|
||||
"${KUBE_ROOT}/hack/update-generated-deep-copies.sh"
|
||||
"${KUBE_ROOT}/hack/after-build/update-generated-deep-copies.sh"
|
||||
|
||||
for APIROOT in ${APIROOTS}; do
|
||||
TMP_APIROOT="${_tmp}/${APIROOT}"
|
||||
|
|
Loading…
Reference in New Issue