diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ce32a2df..1794f7cd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,9 +23,25 @@ jobs: git config user.name "$GITHUB_ACTOR" git config user.email "$GITHUB_ACTOR@users.noreply.github.com" + # Workaround for https://github.com/helm/chart-releaser-action/issues/228 + # GitHub's immutable releases feature breaks the standard chart-releaser. + # This builds a patched version that creates releases as drafts first. + # TODO: Remove once https://github.com/helm/chart-releaser/pull/587 is released + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: '1.21' + + - name: Build patched chart-releaser + run: | + git clone --depth 1 -b fix/immutable-releases https://github.com/chrisburr/chart-releaser.git /tmp/chart-releaser + cd /tmp/chart-releaser + go build -o ${{ runner.tool_cache }}/cr/patched/cr ./cr + - name: Run chart-releaser uses: helm/chart-releaser-action@v1.7.0 with: charts_dir: . + install_dir: ${{ runner.tool_cache }}/cr/patched env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" diff --git a/diracx/Chart.yaml b/diracx/Chart.yaml index 8ae23ad9..f0c211a3 100644 --- a/diracx/Chart.yaml +++ b/diracx/Chart.yaml @@ -11,7 +11,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: "1.0.3" +version: "1.0.4" # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to