Skip to content

Commit 47ea960

Browse files
authored
fix: update helm chart release action (#2555)
Signed-off-by: Iliya Savov <[email protected]>
1 parent a0de302 commit 47ea960

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/release-production.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ jobs:
108108
- name: Install Helm
109109
uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0
110110

111-
- name: Run chart-releaser
112-
uses: helm/chart-releaser-action@a917fd15b20e8b64b94d9158ad54cd6345335584 # v1.6.0
113-
env:
114-
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
111+
- name: Publish helm chart
112+
uses: stefanprodan/helm-gh-pages@0ad2bb377311d61ac04ad9eb6f252fb68e207260 # v1.7.0
113+
with:
114+
target_dir: charts
115+
token: ${{ secrets.GITHUB_TOKEN }}

scripts/.bump-version.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const helmChartRegex = "version: \\d+\\.\\d+\\.\\d+(-\\w+)?";
7777
replace({
7878
regex: helmChartRegex,
7979
replacement: `version: ${newVersion}`,
80-
paths: ["charts/hedera-json-rpc-relay/Chart.yaml", "charts/hedera-json-rpc-relay-websocket/Chart.yaml"],
80+
paths: ["charts/hedera-json-rpc-relay/Chart.yaml", "charts/hedera-json-rpc-relay-websocket/Chart.yaml","charts/hedera-json-rpc/Chart.yaml"],
8181
recursive: false,
8282
silent: false,
8383
});
@@ -86,7 +86,7 @@ const helmChartAppVersionRegex = 'appVersion: "\\d+\\.\\d+\\.\\d+(-\\w+)?"';
8686
replace({
8787
regex: helmChartAppVersionRegex,
8888
replacement: `appVersion: "${newVersion}"`,
89-
paths: ["charts/hedera-json-rpc-relay/Chart.yaml", "charts/hedera-json-rpc-relay-websocket/Chart.yaml"],
89+
paths: ["charts/hedera-json-rpc-relay/Chart.yaml", "charts/hedera-json-rpc-relay-websocket/Chart.yaml","charts/hedera-json-rpc/Chart.yaml"],
9090
recursive: false,
9191
silent: false,
9292
});

0 commit comments

Comments
 (0)