From ef3d619d0efca258e0f648b89d7dc1173a7c4e63 Mon Sep 17 00:00:00 2001 From: Sebastian Wick Date: Mon, 15 Dec 2025 17:48:48 +0100 Subject: [PATCH] ci: Fix immutable releases Github supports immutable releases. They can't be changed once published. This is great, but the release action was broken and created an immutable release, published it, and then tried to upload the dist artifacts. Upgrade to the latest version and explicitly create an immutable release. In this version, the release action creates a draft release, uploads the dist artifacts, and then publishes it. --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index db662088..b7906c32 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -69,9 +69,10 @@ jobs: echo $preRelease - name: Create release - uses: ncipollo/release-action@v1.15.0 + uses: ncipollo/release-action@v1.20.0 with: tag: ${{ env.releaseVersion }} body: ${{ env.releaseChangelog }} prerelease: ${{ env.preRelease }} - artifacts: _build/meson-dist/* \ No newline at end of file + artifacts: _build/meson-dist/* + immutableCreate: true \ No newline at end of file