From 0a55bec305bcc6e805d53d893fdc6e9d0f1a74f2 Mon Sep 17 00:00:00 2001 From: Enrico Candino Date: Mon, 14 Jul 2025 15:56:30 +0200 Subject: [PATCH] improve chart-release workflow (#412) --- .cr.yaml | 2 ++ .github/workflows/chart.yml | 12 ------------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/.cr.yaml b/.cr.yaml index 7d70edb..ac59ff5 100644 --- a/.cr.yaml +++ b/.cr.yaml @@ -1 +1,3 @@ release-name-template: chart-{{ .Version }} +make-release-latest: false +skip-existing: true diff --git a/.github/workflows/chart.yml b/.github/workflows/chart.yml index af52b42..3337e10 100644 --- a/.github/workflows/chart.yml +++ b/.github/workflows/chart.yml @@ -2,9 +2,6 @@ name: Chart on: workflow_dispatch: - push: - tags: - - "chart-*" permissions: contents: write @@ -18,15 +15,6 @@ jobs: with: fetch-depth: 0 - - name: Check tag - if: github.event_name == 'push' - run: | - pushed_tag=$(echo ${{ github.ref_name }} | sed "s/chart-//") - chart_tag=$(yq .version charts/k3k/Chart.yaml) - - echo pushed_tag=${pushed_tag} chart_tag=${chart_tag} - [ "${pushed_tag}" == "${chart_tag}" ] - - name: Configure Git run: | git config user.name "$GITHUB_ACTOR"