From d90bbeacb625b238c389284499f74c833014935c Mon Sep 17 00:00:00 2001 From: Prashanth684 Date: Fri, 26 Jul 2024 09:12:53 -0700 Subject: [PATCH] Run update-payload-crds after update-codegen-crds When working on #1928, noticed that the paylaod crds were not being generated after running a `make update`. This is because codegen is run after update-scripts. This PR removes update-payload-crds from update-scripts and runs it after codegen. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7aa6b9bde45..5e6a6b1312e 100644 --- a/Makefile +++ b/Makefile @@ -27,9 +27,11 @@ test-unit: ################################################################################## # Ensure update-scripts are run before crd-gen so updates to Godoc are included in CRDs. +# Run update-payload-crds after update-codegen-crds to copy any newly created crds .PHONY: update-codegen-crds update-codegen-crds: update-scripts hack/update-codegen-crds.sh + hack/update-payload-crds.sh ##################### # @@ -79,7 +81,7 @@ verify-%: ################################################################################################ .PHONY: update-scripts -update-scripts: update-compatibility update-openapi update-deepcopy update-protobuf update-swagger-docs tests-vendor update-prerelease-lifecycle-gen update-payload-crds update-payload-featuregates +update-scripts: update-compatibility update-openapi update-deepcopy update-protobuf update-swagger-docs tests-vendor update-prerelease-lifecycle-gen update-payload-featuregates .PHONY: update-compatibility update-compatibility: