Release tooling for the PIE + PECL dual channel#2
Closed
sj-i wants to merge 2 commits into
Closed
Conversation
- .github/workflows/release.yml: on a v* tag, verify the version is in sync across php_rdump.h / package.xml / tag, validate package.xml, build + run the phpt suite, build the PECL tarball, smoke-install it, and attach it to the GitHub Release. - CHANGELOG.md: 0.1.0 notes. - RELEASING.md: the cut-a-release steps plus the one-time Packagist and PECL onboarding. - .gitattributes: export-ignore dev-only paths from the dist archive. - README: clarify PIE (needs 8.1+) vs pecl install (handy on older PHP). https://claude.ai/code/session_017skw8BsHkF8wur7Pf4G9W5
Follow-up to the release-tooling commit, which referenced this README change but didn't include it. https://claude.ai/code/session_017skw8BsHkF8wur7Pf4G9W5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sets up publishing to both channels so old and new PHP are both covered:
PIE/Packagist for modern setups (the
pietool needs PHP 8.1+, though theextension builds on 7.0+) and PECL (
pecl install rdump) for the olderruntimes PIE itself can't run on.
Added
.github/workflows/release.yml— on av*tag (or manual dispatch):php_rdump.h,package.xml, and thetag (fails on drift);
pecl package-validate;.phptsuite;pecl packageto producerdump-X.Y.Z.tgz(the exact artifact uploaded topecl.php.net), smoke-install it, and attach it to the GitHub Release.
CHANGELOG.md— 0.1.0 notes.RELEASING.md— the cut-a-release steps plus one-time Packagistsubmission and the PECL proposal/karma onboarding.
.gitattributes—export-ignoredev-only paths from the dist archive.pecl install(handy on older PHP).Not automated (needs maintainer account)
pecl-devfor karma(one-time); thereafter uploading the tarball the workflow produces.
These are documented in
RELEASING.md.https://claude.ai/code/session_017skw8BsHkF8wur7Pf4G9W5
Generated by Claude Code