diff --git a/Makefile b/Makefile index 9660d818..f4e1c56b 100644 --- a/Makefile +++ b/Makefile @@ -360,6 +360,14 @@ run-with-webhook: manifests generate fmt vet ## Run a controller from your host. CRD_SCHEMA_CHECKER_VERSION ?= release-4.16 BRANCH ?= main +.PHONY: force-bump +force-bump: ## Force bump operator and lib-common dependencies + for dep in $$(cat go.mod | grep openstack-k8s-operators | grep -vE -- 'indirect|ironic-operator|^replace' | awk '{print $$1}'); do \ + go get $$dep@$(BRANCH) ; \ + done + for dep in $$(cat api/go.mod | grep openstack-k8s-operators | grep -vE -- 'indirect|ironic-operator|^replace' | awk '{print $$1}'); do \ + cd ./api && go get $$dep@$(BRANCH) && cd .. ; \ + done PHONY: crd-schema-check crd-schema-check: manifests