diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index c7d8e03..161a08a 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -57,8 +57,7 @@ jobs: run: | cp .replicated release/ cp embedded-cluster-config.yaml release/ - cp helmchart.yaml release/ - sed -i "s/chartVersion: \"\"/chartVersion: \"${{ env.CHART_VERSION }}\"/" release/helmchart.yaml + sed "s/chartVersion: .*/chartVersion: \"${{ env.CHART_VERSION }}\"/" helmchart.yaml > release/helmchart.yaml cp kots-config.yaml release/ cp kots-app.yaml release/ diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eb5db57..15f7229 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,8 +54,7 @@ jobs: run: | cp .replicated release/ cp embedded-cluster-config.yaml release/ - cp helmchart.yaml release/ - sed -i "s/chartVersion: \"\"/chartVersion: \"${{ env.VERSION }}\"/" release/helmchart.yaml + sed "s/chartVersion: .*/chartVersion: \"${{ env.VERSION }}\"/" helmchart.yaml > release/helmchart.yaml cp kots-config.yaml release/ cp kots-app.yaml release/ diff --git a/helmchart.yaml b/helmchart.yaml index 4b5363f..d53f126 100644 --- a/helmchart.yaml +++ b/helmchart.yaml @@ -5,6 +5,7 @@ metadata: spec: chart: name: gameshelf + chartVersion: "0.0.0" values: image: tag: repl{{ .VersionLabel }}