Skip to content

Commit

Permalink
feat(actions): Automatic bump the version when doing a release
Browse files Browse the repository at this point in the history
  • Loading branch information
electrosenpai committed Oct 18, 2024
1 parent f0cccb4 commit c486773
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ jobs:
- name: Update Dependencies
run: helm dependency update .

- name: Update Chart Version
run: |
sed -i "s/^version:.*/version: ${{ github.event.inputs.tag }}/" Chart.yaml
git add Chart.yaml
git commit -m "Update chart version to ${{ github.event.inputs.tag }}"
git push origin main
- name: Run chart-releaser
uses: helm/[email protected]
with:
Expand Down

0 comments on commit c486773

Please sign in to comment.