mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 03:11:40 +00:00
Codegen: rm applyconfig files before regen
This commit is contained in:
parent
6aea6fe86b
commit
b852b36555
@ -594,6 +594,12 @@ function codegen::applyconfigs() {
|
||||
done
|
||||
fi
|
||||
|
||||
git_grep -l --null \
|
||||
-e '^// Code generated by applyconfiguration-gen. DO NOT EDIT.$' \
|
||||
-- \
|
||||
':(glob)staging/src/k8s.io/client-go/**/*.go' \
|
||||
| xargs -0 rm -f
|
||||
|
||||
"${applyconfigurationgen}" \
|
||||
--openapi-schema <("${modelsschema}") \
|
||||
--go-header-file "${BOILERPLATE_FILENAME}" \
|
||||
|
Loading…
Reference in New Issue
Block a user