File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Release Package
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ version :
7+ description : " Version (eg: v1, v2, v3)"
8+ type : string
9+ required : true
10+
11+ jobs :
12+ build-and-publish :
13+ runs-on : ubuntu-24.04
14+ timeout-minutes : 15
15+ steps :
16+ - uses : actions/checkout@v5
17+ with :
18+ token : ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
19+ - name : Update versions in readme.md
20+ run : |
21+ sed -i "s|\(uses:.*@\)v[0-9]\+|\1${{ github.event.inputs.version }}|g" readme.md
22+ - uses : aboutbits/github-actions-base/git-setup@v2
23+ - uses : aboutbits/github-actions-base/git-commit-and-push-all@v2
24+ with :
25+ message : ' ${{ github.event.inputs.version }}'
26+ - uses : aboutbits/github-actions-base/git-create-or-update-tag@v2
27+ with :
28+ tag-name : ' ${{ github.event.inputs.version }}'
Original file line number Diff line number Diff line change @@ -90,25 +90,9 @@ The following inputs can be used as `step.with` keys:
9090| `timeout` | `5m` | The timeout for the Helm command |
9191| `working-directory` | `.` | The working directory where the action commands will operate |
9292
93- # # Versioning
93+ # # Build & Publish
9494
95- In order to have a versioning in place and working, create lightweight tags that point to the appropriate minor release versions.
96-
97- Creating a new minor release :
98-
99- ` ` ` bash
100- git tag v4
101- git push --tags
102- ` ` `
103-
104- Replacing an already existing minor release :
105-
106- ` ` ` bash
107- git tag -d v4
108- git push origin :refs/tags/v4
109- git tag v4
110- git push --tags
111- ` ` `
95+ To build and publish the chart, visit the GitHub Actions page of the repository and trigger the workflow "Release Package" manually.
11296
11397# # Information
11498
You can’t perform that action at this time.
0 commit comments