Skip to content

Commit fb05cdb

Browse files
committed
Add make force-bump target
Jira: OSPRH-15738
1 parent 4e4066d commit fb05cdb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,14 @@ run-with-webhook: manifests generate fmt vet ## Run a controller from your host.
371371

372372
CRD_SCHEMA_CHECKER_VERSION ?= release-4.16
373373
BRANCH ?= main
374+
.PHONY: force-bump
375+
force-bump: ## Force bump operator and lib-common dependencies
376+
for dep in $$(cat go.mod | grep openstack-k8s-operators | grep -vE -- 'indirect|ovn-operator|^replace' | awk '{print $$1}'); do \
377+
go get $$dep@$(BRANCH) ; \
378+
done
379+
for dep in $$(cat api/go.mod | grep openstack-k8s-operators | grep -vE -- 'indirect|ovn-operator|^replace' | awk '{print $$1}'); do \
380+
cd ./api && go get $$dep@$(BRANCH) && cd .. ; \
381+
done
374382

375383
PHONY: crd-schema-check
376384
crd-schema-check: manifests

0 commit comments

Comments
 (0)