Skip to content

Commit 61eabd2

Browse files
dprinceopenshift-merge-bot[bot]
authored andcommitted
Add make force-bump target
Jira: OSPRH-15738
1 parent 3651403 commit 61eabd2

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
@@ -444,6 +444,14 @@ kuttl-test-cleanup:
444444
CRD_SCHEMA_CHECKER_VERSION ?= release-4.16
445445

446446
BRANCH=main
447+
.PHONY: force-bump
448+
force-bump: ## Force bump operator and lib-common dependencies
449+
for dep in $$(cat go.mod | grep openstack-k8s-operators | grep -vE -- 'indirect|watcher-operator|^replace' | awk '{print $$1}'); do \
450+
go get $$dep@$(BRANCH) ; \
451+
done
452+
for dep in $$(cat api/go.mod | grep openstack-k8s-operators | grep -vE -- 'indirect|watcher-operator|^replace' | awk '{print $$1}'); do \
453+
cd ./api && go get $$dep@$(BRANCH) && cd .. ; \
454+
done
447455

448456
PHONY: crd-schema-check
449457
crd-schema-check: manifests

0 commit comments

Comments
 (0)