Skip to content

Commit ac3a3ac

Browse files
committed
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.
1 parent 64d6ab4 commit ac3a3ac

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,10 @@ jobs:
6969
echo $preRelease
7070
7171
- name: Create release
72-
uses: ncipollo/release-action@v1.15.0
72+
uses: ncipollo/release-action@v1.20.0
7373
with:
7474
tag: ${{ env.releaseVersion }}
7575
body: ${{ env.releaseChangelog }}
7676
prerelease: ${{ env.preRelease }}
77-
artifacts: _build/meson-dist/*
77+
artifacts: _build/meson-dist/*
78+
immutableCreate: true

0 commit comments

Comments
 (0)