charts/hack/bump-common-charts.sh

5 lines
200 B
Bash
Raw Permalink Normal View History

2021-03-29 23:56:40 +00:00
#!/usr/bin/env bash
set -eu
find charts/stable/ -name "Chart.yaml" -exec grep -q -l "\- name\: common" {} \; -print0 | xargs -0 sed -i '' -r -e "s|^version: ([0-9]+\.[0-9]+)\.[0-9]+$|version: \1.1|"