File tree Expand file tree Collapse file tree
charts/cert-manager-webhook-transip Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ chart-dirs:
66chart-repos :
77 - cert-manager-webhook-transip=https://demeester.dev/cert-manager-webhook-transip
88helm-extra-args : --timeout 600s
9+ check-version-increment : false
910excluded-charts :
1011additional-commands :
1112 # - helm unittest --helm3 --strict --file unittests/*.yaml --file 'unittests/**/*.yaml' {{ .Path }}
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ run-name: Release Helm Chart ${{ github.ref_name }}
33
44on :
55 push :
6- branches :
7- - main
6+ tags :
7+ - ' v* '
88
99jobs :
1010 release :
2626 git config user.name "$GITHUB_ACTOR"
2727 git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
2828
29+ - name : Update versions
30+ run : |
31+ # update the chart version in Chart.yaml
32+ sed -i "s/version: 0.0.0/version: ${GITHUB_REF_NAME#v}/" charts/cert-manager-webhook-transip/Chart.yaml
33+ sed -i "s/appVersion: \"0.0.0\"/appVersion: \"${GITHUB_REF_NAME#v}\"/" charts/cert-manager-webhook-transip/Chart.yaml
34+ # update the chart version in values.yaml
35+ sed -i "s/tag: latest/tag: ${GITHUB_REF_NAME#v}/" charts/cert-manager-webhook-transip/values.yaml
36+
2937 - name : Install Helm
3038 uses : azure/setup-helm@v4
3139 env :
Original file line number Diff line number Diff line change 11apiVersion : v1
2- version : 0.1.3
3- appVersion : " 0.1.3 "
2+ version : 0.0.0
3+ appVersion : " 0.0.0 "
44description : A Helm chart for Kubernetes
55name : cert-manager-webhook-transip
66
You can’t perform that action at this time.
0 commit comments