File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,23 +3,23 @@ set -euo pipefail
33cd " $( dirname " ${BASH_SOURCE[0]} " ) /.."
44
55progname=$( basename $0 )
6-
6+ set -x
77VERSION=" $1 "
88
99charts=(" example-idp" " hydra-maester" " hydra" " keto" " kratos" " kratos-selfservice-ui-node" " oathkeeper-maester" " oathkeeper" )
1010charts_with_maesters=(" hydra" " oathkeeper" )
1111
1212for chart in " ${charts[@]} "
1313do
14- yq -i " .version = ${VERSION} " " helm/charts/${chart} /Chart.yaml" || {
14+ yq -i " .version = \" ${VERSION} \" " " helm/charts/${chart} /Chart.yaml" || {
1515 echo " Failed to update version in 'helm/charts/${chart} /Chart.yaml'"
1616 exit 1
1717 }
1818done
1919
2020for chart in " ${charts_with_maesters[@]} "
2121do
22- yq -i " (.dependencies[] | select(.name == \" ${chart} -maester\" )).version = ${VERSION} " " helm/charts/${chart} /Chart.yaml" || {
22+ yq -i " (.dependencies[] | select(.name == \" ${chart} -maester\" )).version = \" ${VERSION} \" " " helm/charts/${chart} /Chart.yaml" || {
2323 echo " Failed to update version in 'helm/charts/${chart} /Chart.yaml'"
2424 exit 1
2525 }
You can’t perform that action at this time.
0 commit comments