charts/hack/bump-common-charts.sh
2021-03-29 19:56:40 -04:00

5 lines
200 B
Bash
Executable File

#!/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|"