From 94d785bdd1889d9d4d42ef6737e43bb31ab18d90 Mon Sep 17 00:00:00 2001 From: Sean Trantalis <18211470+strantalis@users.noreply.github.com> Date: Fri, 6 Dec 2024 15:51:24 -0500 Subject: [PATCH] chore(ci): fix cr to handle existing release (#108) --- .github/workflows/chart-releaser.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/chart-releaser.yaml b/.github/workflows/chart-releaser.yaml index 3564b84..0247aea 100644 --- a/.github/workflows/chart-releaser.yaml +++ b/.github/workflows/chart-releaser.yaml @@ -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