Skip to content

Commit f248d2a

Browse files
committed
build: make helm chart version equal to tag
[skip ci] Signed-off-by: Clément Nussbaumer <clement.nussbaumer@postfinance.ch>
1 parent 7c03ef1 commit f248d2a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/release-helm-chart.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,14 @@ jobs:
2828
export TAG=$(echo ${{ github.ref }} | cut -d '/' -f 3 - )
2929
export VERSION=${TAG#v} # tag without leading v
3030
echo TAG=${TAG} >> $GITHUB_ENV
31-
echo VERSION=${VERSION} >> $GITHUB_ENV
3231
echo "TAG: ${TAG}"
33-
echo "(unused, but still: ) VERSION: ${VERSION}"
32+
echo VERSION=${VERSION} >> $GITHUB_ENV
33+
echo "VERSION: ${VERSION}"
3434
3535
- name: Run chart-releaser
3636
uses: stefanprodan/helm-gh-pages@v1.7.0
3737
with:
3838
token: "${{ secrets.GITHUB_TOKEN }}"
3939
app_version: "${{env.TAG}}"
40+
chart_version: "${{env.VERSION}}"
4041
charts_dir: helm

helm/kubenurse/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
apiVersion: v2
33
name: kubenurse
44
description: A Helm chart for Kubernetes to deploy kubenurse
5-
version: 0.3.2
5+
version: 0.0.1-dummy
66
appVersion: v0.0.1-dummy
77
icon: https://avatars.githubusercontent.com/u/34368733

0 commit comments

Comments
 (0)