Skip to content

Investigate immutable releases #411

@asgrim

Description

@asgrim

https://github.blog/changelog/2025-08-26-releases-now-support-immutability-in-public-preview/

GH supports "immutable releases" now. There's an issue in that we can't subsequently attach a release artifact to the release (since it is immutable).

It was suggested that "making a draft release > running the release workflow > undraft the release" approach may work.

For PIE it might be as simple as creating the draft manually and then

- name: Upload binaries to release
uses: softprops/action-gh-release@v2
if: ${{startsWith(github.ref, 'refs/tags/') }}
with:
files: pie.phar
might automatically undraft it.
Or perhaps adding draft: false.

Metadata

Metadata

Assignees

Labels

maintainer investigatingThis ticket is being investigated by maintainers. Please check with us before contributing PRs etc!

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions