Skip to content

Commit 20540b4

Browse files
committed
fix: publish release workflow
1 parent f87eadd commit 20540b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ jobs:
2525
cp README.md charts/common/README.md
2626
2727
- name: Update version with release version
28-
if: github.event_name == 'release' && github.event.action == 'created'
28+
if: github.event_name == 'release' && github.event.action == 'published'
2929
shell: bash
3030
run: |
3131
sed -i 's/0.0.0/${{ github.ref_name }}/' charts/common/Chart.yaml
3232
3333
- name: Update version with latest version
34-
if: (github.event_name == 'release' && github.event.action == 'created') == false
34+
if: (github.event_name == 'release' && github.event.action == 'published') == false
3535
shell: bash
3636
run: |
3737
sed -i 's/0.0.0/0.0.0-latest/' charts/common/Chart.yaml

0 commit comments

Comments
 (0)