Skip to content

Commit

Permalink
fix: publish release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rtrompier committed Mar 16, 2023
1 parent f87eadd commit 20540b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ jobs:
cp README.md charts/common/README.md
- name: Update version with release version
if: github.event_name == 'release' && github.event.action == 'created'
if: github.event_name == 'release' && github.event.action == 'published'
shell: bash
run: |
sed -i 's/0.0.0/${{ github.ref_name }}/' charts/common/Chart.yaml
- name: Update version with latest version
if: (github.event_name == 'release' && github.event.action == 'created') == false
if: (github.event_name == 'release' && github.event.action == 'published') == false
shell: bash
run: |
sed -i 's/0.0.0/0.0.0-latest/' charts/common/Chart.yaml
Expand Down

0 comments on commit 20540b4

Please sign in to comment.