File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -257,7 +257,7 @@ commands:
257
257
- run :
258
258
name : " Diff changes"
259
259
command : |
260
- thisversion=$(grep version: charts/edge-stack/Chart.yaml | awk ' { print $2 }' | sed -n 1p )
260
+ thisversion=$(grep ^ version: charts/edge-stack/Chart.yaml | awk ' { print $2 }')
261
261
262
262
if [[ "<< pipeline.git.tag >>" != "chart-v${thisversion}" ]]; then
263
263
echo "Chart version ${thisversion} doesn't match tag << pipeline.git.tag >>; aborting"
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ commands:
160
160
- run :
161
161
name : " Diff changes"
162
162
command : |
163
- thisversion=$(grep version: charts/edge-stack/Chart.yaml | awk ' { print $2 }' | sed -n 1p )
163
+ thisversion=$(grep ^ version: charts/edge-stack/Chart.yaml | awk ' { print $2 }')
164
164
165
165
if [[ "<< pipeline.git.tag >>" != "chart-v${thisversion}" ]]; then
166
166
echo "Chart version ${thisversion} doesn't match tag << pipeline.git.tag >>; aborting"
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ get_chart_version () {
139
139
if [[ ! -f " ${1} /Chart.yaml" ]] ; then
140
140
abort " Chart.yaml not found in ${1} "
141
141
fi
142
- grep ' ^version:' ${1} /Chart.yaml | awk ' { print $2 }' | sed -n 1p
142
+ grep ' ^version:' ${1} /Chart.yaml | awk ' { print $2 }'
143
143
}
144
144
145
145
create_chart_release () {
You can’t perform that action at this time.
0 commit comments