Commit ffddb27 1 parent f087a13 commit ffddb27 Copy full SHA for ffddb27
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,23 +3,23 @@ set -euo pipefail
3
3
cd " $( dirname " ${BASH_SOURCE[0]} " ) /.."
4
4
5
5
progname=$( basename $0 )
6
-
6
+ set -x
7
7
VERSION=" $1 "
8
8
9
9
charts=(" example-idp" " hydra-maester" " hydra" " keto" " kratos" " kratos-selfservice-ui-node" " oathkeeper-maester" " oathkeeper" )
10
10
charts_with_maesters=(" hydra" " oathkeeper" )
11
11
12
12
for chart in " ${charts[@]} "
13
13
do
14
- yq -i " .version = ${VERSION} " " helm/charts/${chart} /Chart.yaml" || {
14
+ yq -i " .version = \" ${VERSION} \" " " helm/charts/${chart} /Chart.yaml" || {
15
15
echo " Failed to update version in 'helm/charts/${chart} /Chart.yaml'"
16
16
exit 1
17
17
}
18
18
done
19
19
20
20
for chart in " ${charts_with_maesters[@]} "
21
21
do
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" || {
23
23
echo " Failed to update version in 'helm/charts/${chart} /Chart.yaml'"
24
24
exit 1
25
25
}
You can’t perform that action at this time.
0 commit comments