File tree 2 files changed +7
-6
lines changed
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 14
14
#
15
15
16
16
# This script prepares the helm chart for a release by updating the versions in the chart file.
17
+ #
18
+ # Note: helm/chart-releaser-action silently fails if there is no change made here.
19
+ # Hence, we should never update the chart version manually.
17
20
18
21
trigger_tag=${1?trigger_tag is required. Ex release-1.2.3}
19
22
release_version=$( build-bin/git/version_from_trigger_tag release- ${trigger_tag} )
@@ -39,9 +42,7 @@ sh -c "sed -i 's/appVersion\:\s[0-9.]\+/appVersion\: ${latest_app_version}/g' ./
39
42
sh -c " sed -i 's/version\:\s[0-9.]\+/version\: ${release_version} /g' ./charts/zipkin/Chart.yaml"
40
43
41
44
# Commit changes to ./charts/zipkin/Chart.yaml
42
- git add ./charts/zipkin/Chart.yaml
45
+ git add ./charts/zipkin/Chart.yaml && git commit -m " release: zipkin- ${release_version} "
43
46
44
- if git commit -m " release: updates for ${release_version} " ; then
45
- # Push the changes in ./charts/zipkin/Chart.yaml to the release branch
46
- git push origin ${release_branch}
47
- fi
47
+ # Push the changes in ./charts/zipkin/Chart.yaml to the release branch
48
+ git push origin ${release_branch}
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ appVersion: 3.0.6
14
14
name : zipkin
15
15
description : A Zipkin helm chart for kubernetes
16
16
type : application
17
- version : 0.2.0
17
+ version : 0.1.2 # chart version maintained by release automation
18
18
maintainers :
19
19
- name : openzipkin
20
20
You can’t perform that action at this time.
0 commit comments