Skip to content

Commit

Permalink
fix: yq installation
Browse files Browse the repository at this point in the history
  • Loading branch information
BrendanGalloway committed Feb 26, 2024
1 parent c1ec297 commit f10fbf3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
run: |
wget -nv -nc -O yq https://github.com/mikefarah/yq/releases/download/v4.20.2/yq_linux_amd64
chmod +x yq
echo "$PWD" >> $GITHUB_PATH
- name: create release rules
run: build/chart-release-rules.sh
- uses: cycjimmy/semantic-release-action@v4
Expand Down
6 changes: 3 additions & 3 deletions build/chart-prerelease.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
export appVersion=$(git describe --match 'v*' --abbrev=0 HEAD --tags || echo "0.0.0")
export chartVersion=$(echo $1 | sed 's/chart-\(.*\)/\1/')

./yq -i e '.version = strenv(chartVersion)' chart/Chart.yaml
./yq -i e '.appVersion = strenv(appVersion)"' chart/Chart.yaml
./yq -i e '.on.workflow_dispatch.inputs.chart_version.default = strenv(chartVersion)' .github/workflows/deploy.yaml
yq -i e '.version = strenv(chartVersion)' chart/Chart.yaml
yq -i e '.appVersion = strenv(appVersion)"' chart/Chart.yaml
yq -i e '.on.workflow_dispatch.inputs.chart_version.default = strenv(chartVersion)' .github/workflows/deploy.yaml
1 change: 0 additions & 1 deletion chart/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"name": "chart"
}

0 comments on commit f10fbf3

Please sign in to comment.