mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-26 06:07:56 +00:00
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.
This commit is contained in:
parent
64d6ab4d57
commit
ef3d619d0e
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@ -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/*
|
||||
artifacts: _build/meson-dist/*
|
||||
immutableCreate: true
|
||||
Loading…
x
Reference in New Issue
Block a user