Skip to content

feat: PHAR build scripts and GitHub release pipeline - #9

Merged
jordanpartridge merged 10 commits into
mainfrom
cursor/phar-release-install-6412
Sep 12, 2026
Merged

jordanpartridge merged 10 commits into
mainfrom
cursor/phar-release-install-6412

Conversation

@jordanpartridge

Copy link
Copy Markdown
Contributor

Summary

PHAR build scripts plus release and CI pipelines for one-command install.

  • Composer build scripts and release workflow uploading PHAR on v* tags
  • CI workflow
  • README install section for binary / composer install
  • PHP 8.3-compatible composer.lock

Test plan

  • CI green
  • Review release workflow YAML
Open in Web Open in Cursor 

@jordanpartridge
jordanpartridge force-pushed the cursor/phar-release-install-6412 branch from 49398cc to 1113c38 Compare September 10, 2026 05:49

@lexi-chief-of-staff lexi-chief-of-staff Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PHP version mismatch between release workflow and stated 8.3 compatibility.

  • release.yml pins 8.4 while composer.lock is claimed 8.3-compatible
  • no other issues found in the diff

@lexi-chief-of-staff lexi-chief-of-staff Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ship it.

  • Release workflow triggers on v* tags, sets phar.readonly=0, runs the Laravel Zero build, and uploads via softprops/action-gh-release.
  • .gitignore addition, README install paths, and composer.json build script are consistent with the new pipeline.
  • No blocking issues found; CI will validate the rest.

@jordanpartridge

Copy link
Copy Markdown
Contributor Author

Release workflow now builds the PHAR on PHP 8.3 (9fad191), matching composer.json and the lockfile.

cursoragent and others added 10 commits September 10, 2026 06:30
Document binary, Composer, and source install paths; enable
`composer build` for Laravel Zero PHAR artifacts on tag releases.

Co-authored-by: Jordan Partridge <jordan@partridge.rocks>
Symfony 8.1 in the lockfile requires PHP >= 8.4.1.

Co-authored-by: Jordan Partridge <jordan@partridge.rocks>
Co-authored-by: Jordan Partridge <jordan@partridge.rocks>
Current composer.lock resolves Symfony 8.1 (requires PHP >= 8.4.1).

Co-authored-by: Jordan Partridge <jordan@partridge.rocks>
The 8.4 CI bump was only needed before main pinned composer to PHP 8.3.
composer.json and the lockfile target PHP 8.3. Release was pinning 8.4.
Release workflow must pin 8.3, not 8.4. composer.json must expose a build script.
Read the workflow. Do not compile a second PHAR.
Sodium and zlib for Box, composer --no-dev, fail if builds/cf is missing.
README install names the cf artifact and required env.
@jordanpartridge
jordanpartridge force-pushed the cursor/phar-release-install-6412 branch from 9fad191 to 4067190 Compare September 10, 2026 13:36
@jordanpartridge
jordanpartridge marked this pull request as ready for review September 12, 2026 13:24
@jordanpartridge
jordanpartridge merged commit e25d7e7 into main Sep 12, 2026
1 check passed
@jordanpartridge
jordanpartridge deleted the cursor/phar-release-install-6412 branch September 12, 2026 13:24

@lexi-chief-of-staff lexi-chief-of-staff Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ship it.

  • release.yml matches spec: v* trigger, 8.3, phar.readonly=0, builds/cf upload.
  • composer.json adds build script; tests assert YAML + script presence.
  • ci.yml already on 8.3, test covers it.
  • .gitignore + README updates are correct and minimal.

No blocking issues. Ready to merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants