Skip to content

Commit ee51061

Browse files
Merge pull request #24 from aa-replicated/fix/helmchart-version-dynamic
fix(ci): stamp helmchart.yaml chartVersion at release time
2 parents 590494b + b0d0ae7 commit ee51061

3 files changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/pr.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858
cp .replicated release/
5959
cp embedded-cluster-config.yaml release/
6060
cp helmchart.yaml release/
61+
sed -i "s/chartVersion: \"\"/chartVersion: \"${{ env.CHART_VERSION }}\"/" release/helmchart.yaml
6162
6263
- name: Create Replicated release
6364
id: create-release

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ jobs:
5555
cp .replicated release/
5656
cp embedded-cluster-config.yaml release/
5757
cp helmchart.yaml release/
58+
sed -i "s/chartVersion: \"\"/chartVersion: \"${{ env.VERSION }}\"/" release/helmchart.yaml
5859
5960
- name: Create Replicated release
6061
id: create-release

.replicated

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,3 @@ channels:
55
- name: Unstable
66
- name: Beta
77
- name: Stable
8-
helm-charts:
9-
- name: gameshelf
10-
path: .
11-
values:
12-
- key: image.tag
13-
value: repl{{ .VersionLabel }}

0 commit comments

Comments
 (0)