Skip to content

fix(release): separate source checkout from tooling checkout#152

Merged
jasdeepkhalsa merged 1 commit intomasterfrom
feature/fix-release-7
Mar 10, 2026
Merged

fix(release): separate source checkout from tooling checkout#152
jasdeepkhalsa merged 1 commit intomasterfrom
feature/fix-release-7

Conversation

@jasdeepkhalsa
Copy link
Member

The PHAR build always needs master's box.json and humbug/box in composer.json. Checking out an old tag (e.g. v2.0.1) breaks the build because Box wasn't in composer.json at that point.

Fix: PHAR build job now checks out master for tooling, then overlays src/ from the release ref (tag/SHA) so the PHAR contains the correct PHP source. All other jobs (binary, publish, docker) also revert to master checkout since they only need npm package metadata and Dockerfiles.

The PHAR build always needs master's box.json and humbug/box in
composer.json. Checking out an old tag (e.g. v2.0.1) breaks the build
because Box wasn't in composer.json at that point.

Fix: PHAR build job now checks out master for tooling, then overlays
src/ from the release ref (tag/SHA) so the PHAR contains the correct
PHP source. All other jobs (binary, publish, docker) also revert to
master checkout since they only need npm package metadata and Dockerfiles.
@jasdeepkhalsa jasdeepkhalsa force-pushed the feature/fix-release-7 branch from 8ee2d5f to bd67e39 Compare March 10, 2026 18:17
@sonarqubecloud
Copy link

@jasdeepkhalsa jasdeepkhalsa merged commit 78270f3 into master Mar 10, 2026
57 checks passed
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.

1 participant