Skip to content

Commit 1cbe9b6

Browse files
Merge pull request #236 from dprince/force-bump
Add make force-bump target
2 parents 00f040e + c9091ee commit 1cbe9b6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,15 @@ CRD_SCHEMA_CHECKER_VERSION ?= release-4.16
375375

376376
BRANCH ?= main
377377

378+
.PHONY: force-bump
379+
force-bump: ## Force bump operator and lib-common dependencies
380+
for dep in $$(cat go.mod | grep openstack-k8s-operators | grep -vE -- 'indirect|barbican-operator|^replace' | awk '{print $$1}'); do \
381+
go get $$dep@$(BRANCH) ; \
382+
done
383+
for dep in $$(cat api/go.mod | grep openstack-k8s-operators | grep -vE -- 'indirect|barbican-operator|^replace' | awk '{print $$1}'); do \
384+
cd ./api && go get $$dep@$(BRANCH) && cd .. ; \
385+
done
386+
378387
PHONY: crd-schema-check
379388
crd-schema-check: manifests
380389
INSTALL_DIR=$(LOCALBIN) CRD_SCHEMA_CHECKER_VERSION=$(CRD_SCHEMA_CHECKER_VERSION) hack/build-crd-schema-checker.sh

0 commit comments

Comments
 (0)