mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	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.
This commit is contained in:
		@@ -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}"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user