File tree Expand file tree Collapse file tree 3 files changed +35
-2
lines changed Expand file tree Collapse file tree 3 files changed +35
-2
lines changed Original file line number Diff line number Diff line change 6060 gh release create $VERSION $PRERELEASE_FLAG \
6161 -t "Release $VERSION" \
6262 --generate-notes
63+ chart-release :
64+ permissions :
65+ contents : write
66+ runs-on : " ubuntu-24.04"
67+ needs : release
68+ if : contains(needs.release.result, 'success')
69+ steps :
70+ - name : Checkout
71+ uses : actions/checkout@v4
72+ with :
73+ fetch-depth : 0
74+ - name : Create release notes
75+ env :
76+ tag_version : ${{ github.ref_name }}
77+ run : |
78+ cat <<EOF > ./charts/ofen/RELEASE.md
79+ Helm chart for ofen [$tag_version](https://github.com/cybozu-go/ofen/releases/tag/$tag_version)
80+
81+ EOF
82+ - name : Configure Git
83+ run : |
84+ git config user.name "$GITHUB_ACTOR"
85+ git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
86+ - name : Run chart-releaser
87+ uses : helm/chart-releaser-action@cae68fefc6b5f367a0275617c9f83181ba54714f # v1.7.0
88+ with :
89+ config : " cr.yaml"
90+ env :
91+ CR_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ type: application
1515# This is the chart version. This version number should be incremented each time you make changes
1616# to the chart and its templates, including the app version.
1717# Versions are expected to follow Semantic Versioning (https://semver.org/)
18- version : 0.1 .0
18+ version : 0.2 .0
1919
2020# This is the version number of the application being deployed. This version number should be
2121# incremented each time you make changes to the application. Versions are not expected to
2222# follow Semantic Versioning. They should reflect the version the application is using.
2323# It is recommended to use it with quotes.
24- appVersion : " 0.1 .0"
24+ appVersion : " 0.2 .0"
Original file line number Diff line number Diff line change 1+ owner : cybozu-go
2+ git-repo : ofen
3+ release-name-template : " {{ .Name }}-chart-{{ .Version }}"
4+ release-notes-file : RELEASE.md
You can’t perform that action at this time.
0 commit comments