Skip to content

Commit

Permalink
chore(ci): fix cr to handle existing release (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
strantalis authored Dec 6, 2024
1 parent 6377793 commit 94d785b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/chart-releaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ jobs:
CR_TOKEN: "${{ steps.app-token.outputs.token }}"
with:
skip_upload: true
skip_existing: true

- name: Upload Chart to Release
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
run: gh release upload ${{github.event.release.tag_name}} ./.cr-release-packages/*.tgz

- name: Generate Index
run: cr index -o ${{github.repository_owner}} -r ${{ github.event.repository.name }} -t ${{steps.app-token.outputs.token}} -i ./index.yaml
Expand Down

0 comments on commit 94d785b

Please sign in to comment.