Skip to content

Commit a863d0c

Browse files
authored
Merge pull request #9 from datawire/alicewasko/update-version-selector
version selector picks first occurence
2 parents 59497a9 + 0cad8bd commit a863d0c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ commands:
257257
- run:
258258
name: "Diff changes"
259259
command: |
260-
thisversion=$(grep version: charts/edge-stack/Chart.yaml | awk ' { print $2 }')
260+
thisversion=$(grep ^version: charts/edge-stack/Chart.yaml | awk ' { print $2 }')
261261
262262
if [[ "<< pipeline.git.tag >>" != "chart-v${thisversion}" ]]; then
263263
echo "Chart version ${thisversion} doesn't match tag << pipeline.git.tag >>; aborting"

.circleci/config.yml.d/amb_util.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ commands:
160160
- run:
161161
name: "Diff changes"
162162
command: |
163-
thisversion=$(grep version: charts/edge-stack/Chart.yaml | awk ' { print $2 }')
163+
thisversion=$(grep ^version: charts/edge-stack/Chart.yaml | awk ' { print $2 }')
164164
165165
if [[ "<< pipeline.git.tag >>" != "chart-v${thisversion}" ]]; then
166166
echo "Chart version ${thisversion} doesn't match tag << pipeline.git.tag >>; aborting"

0 commit comments

Comments
 (0)