Skip to content

Commit

Permalink
makefile: generalize bump-all (#1469)
Browse files Browse the repository at this point in the history
Auto detect all bump*.* files and run them
as part of bump-all.
This way we need less to maintain once we add a component.

Signed-off-by: Or Shoval <[email protected]>

Signed-off-by: Or Shoval <[email protected]>
  • Loading branch information
oshoval authored Nov 28, 2022
1 parent cd7e23e commit 03a2db8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,8 @@ auto-bumper: $(GO)

bump-%:
CNAO_VERSION=${VERSION} ./hack/components/bump-$*.sh
bump-all: bump-kubemacpool bump-macvtap-cni bump-linux-bridge bump-multus bump-ovs-cni bump-bridge-marker bump-multus-dynamic-networks
bump-all:
set -e && for f in hack/components/bump*.*; do x=$${f%%.sh}; make $${x##*/}; done

generate-doc:
go run ./tools/metricsdocs > docs/metrics.md
Expand Down

0 comments on commit 03a2db8

Please sign in to comment.