mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-19 00:19:14 +00:00
Merge pull request #53235 from cblecker/clean-fix-two
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Move make clean to a static list **What this PR does / why we need it**: #51911 changed the functionality of `make clean` to use `git clean` to remove ignored files. This had unintended consequences, wiping things out like etcd. This changes it back to a static list, managed via a bash script. It's not optimal, but the static list of patterns is more up to date then it was keeping it in the make file. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #52271 **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
This commit is contained in:
@@ -309,7 +309,7 @@ clean:
|
||||
else
|
||||
clean: clean_meta
|
||||
build/make-clean.sh
|
||||
git clean -Xdf
|
||||
hack/make-rules/clean.sh
|
||||
endif
|
||||
|
||||
define CLEAN_META_HELP_INFO
|
||||
|
Reference in New Issue
Block a user