Skip to content

Commit

Permalink
ci: Fix yq command syntax (#881)
Browse files Browse the repository at this point in the history
The original CCI version used an older version of yq. The syntax changed and this was missed when ported.

Co-authored-by: Tom Proctor <[email protected]>
  • Loading branch information
dekimsey and tomhjp committed Jun 19, 2023
1 parent 785a5e7 commit a86803d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update-helm-charts-index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
run: |-
export TAG=${{ github.ref_name }}
git_tag="${TAG#v}"
chart_tag=$(yq r Chart.yaml version)
chart_tag=$(yq -r '.version' Chart.yaml)
if [ "${git_tag}" != "${chart_tag}" ]; then
echo "chart version (${chart_tag}) did not match git version (${git_tag})"
exit 1
Expand Down

0 comments on commit a86803d

Please sign in to comment.