Skip to content

Commit 6b1e5f5

Browse files
committed
Add make force-bump target
Jira: OSPRH-15738
1 parent 2518dd5 commit 6b1e5f5

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,3 +348,13 @@ operator-lint: gowork ## Runs operator-lint
348348
.PHONY: docs
349349
docs: ## Create documentation under docs/build/html
350350
docs/build-docs.sh
351+
352+
BRANCH ?= 18.0-fr2
353+
.PHONY: force-bump
354+
force-bump: ## Force bump operator and lib-common dependencies
355+
for dep in $$(cat go.mod | grep openstack-k8s-operators | grep -vE -- 'indirect|test-operator|^replace' | awk '{print $$1}'); do \
356+
go get $$dep@$(BRANCH) ; \
357+
done
358+
for dep in $$(cat api/go.mod | grep openstack-k8s-operators | grep -vE -- 'indirect|test-operator|^replace' | awk '{print $$1}'); do \
359+
cd ./api && go get $$dep@$(BRANCH) && cd .. ; \
360+
done

0 commit comments

Comments
 (0)