mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 13:17:08 +00:00
Helm chart - CI - Fix using malformed output parameter syntax, make appVersion substitution apply in place
Signed-off-by: Rhea Danzey <rdanzey@element.io>
This commit is contained in:
parent
113cf5b49e
commit
5a277d47e2
4
.github/workflows/helm.yml
vendored
4
.github/workflows/helm.yml
vendored
@ -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/yq@v4.34.1
|
||||
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/yq@v4.34.1
|
||||
|
Loading…
x
Reference in New Issue
Block a user