Skip to content

Commit

Permalink
Helm chart - CI - Fix using malformed output parameter syntax, make a…
Browse files Browse the repository at this point in the history
…ppVersion substitution apply in place

Signed-off-by: Rhea Danzey <[email protected]>
  • Loading branch information
Arkaniad committed Jun 8, 2023
1 parent 113cf5b commit 5a277d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ jobs:
- name: "Get app version from package.json"
id: get_hookshot_version
run: |
echo "::set-output hookshot_version=$(cat package.json | yq .version)" >> "$GITHUB_OUTPUT"
echo "hookshot_version=$(cat package.json | yq .version)" >> "$GITHUB_OUTPUT"
- name: Set chart appVersion to current package.json version
uses: mikefarah/[email protected]
with:
cmd: |
yq '.appVersion="${{steps.get_hookshot_version.outputs.hookshot_version}}"' helm/hookshot/Chart.yaml
yq -i '.appVersion="${{steps.get_hookshot_version.outputs.hookshot_version}}"' helm/hookshot/Chart.yaml
- name: Set values hookshot config to current config.sample.yml contents
uses: mikefarah/[email protected]
Expand Down

0 comments on commit 5a277d4

Please sign in to comment.