Skip to content

Commit 863de55

Browse files
Merge pull request #540 from dprince/force-bump
Add make force-bump target
2 parents 08f2039 + da198d0 commit 863de55

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
@@ -360,6 +360,14 @@ run-with-webhook: manifests generate fmt vet ## Run a controller from your host.
360360

361361
CRD_SCHEMA_CHECKER_VERSION ?= release-4.16
362362
BRANCH ?= main
363+
.PHONY: force-bump
364+
force-bump: ## Force bump operator and lib-common dependencies
365+
for dep in $$(cat go.mod | grep openstack-k8s-operators | grep -vE -- 'indirect|ironic-operator|^replace' | awk '{print $$1}'); do \
366+
go get $$dep@$(BRANCH) ; \
367+
done
368+
for dep in $$(cat api/go.mod | grep openstack-k8s-operators | grep -vE -- 'indirect|ironic-operator|^replace' | awk '{print $$1}'); do \
369+
cd ./api && go get $$dep@$(BRANCH) && cd .. ; \
370+
done
363371

364372
PHONY: crd-schema-check
365373
crd-schema-check: manifests

0 commit comments

Comments
 (0)