Skip to content

Commit c6510e3

Browse files
committed
fix: override release name in chart-releaser
1 parent e4b068f commit c6510e3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,19 @@ jobs:
5454
# env:
5555
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5656

57-
- name: Set git config
57+
- name: Set chart-releaser configuration
5858
run: |
5959
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
6060
git config --global user.name "github-actions[bot]"
61+
cat << EOF > chart-releaser-config.yaml
62+
release-name-template: "v{{ .Version }}"
63+
EOF
6164
shell: bash
6265

6366
- name: Run chart-releaser
6467
uses: helm/chart-releaser-action@v1.7.0
6568
with:
6669
charts_dir: helm
70+
config: chart-releaser-config.yaml
6771
env:
6872
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)