File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -148,13 +148,14 @@ vet: gowork ## Run go vet against code.
148148 go vet ./...
149149 go vet ./apis/...
150150
151+ BRANCH =main
151152.PHONY : force-bump
152153force-bump : # # Force bump after tagging
153- for dep in $$ (cat go.mod | grep openstack-k8s-operators | grep -vE -- ' indirect|openstack-operator' | awk ' {print $$1}' ); do \
154- go get $$ dep@main ; \
154+ for dep in $$ (cat go.mod | grep openstack-k8s-operators | grep -vE -- ' indirect|openstack-operator|^replace ' | awk ' {print $$1}' ); do \
155+ go get $$ dep@$( BRANCH ) ; \
155156 done
156- for dep in $$ (cat apis/go.mod | grep openstack-k8s-operators | grep -vE -- ' indirect|openstack-operator' | awk ' {print $$1}' ); do \
157- cd ./apis && go get $$ dep@main && cd .. ; \
157+ for dep in $$ (cat apis/go.mod | grep openstack-k8s-operators | grep -vE -- ' indirect|openstack-operator|^replace ' | awk ' {print $$1}' ); do \
158+ cd ./apis && go get $$ dep@$( BRANCH ) && cd .. ; \
158159 done
159160
160161.PHONY : tidy
You can’t perform that action at this time.
0 commit comments