Skip to content

Commit

Permalink
Escape '-' in grep
Browse files Browse the repository at this point in the history
  • Loading branch information
sd109 committed Sep 2, 2024
1 parent 90be62f commit c095f49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/helm-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
# We publish our 'release' Semver tags as X.Y.Z-stackhpc.[1-9]+
# so if main branch chart version doesn't match this then abort
- name: Fail on dev chart version
run: yq .version deployment/helm/Chart.yaml | grep "-stackhpc."
run: yq .version deployment/helm/Chart.yaml | grep "\-stackhpc."
if: ${{ github.ref_name == 'main'}}

- name: Configure Git
Expand Down

0 comments on commit c095f49

Please sign in to comment.