Skip to content

Install Composer dependencies in release script#19

Open
pfefferle wants to merge 1 commit intotrunkfrom
update/release-composer-install
Open

Install Composer dependencies in release script#19
pfefferle wants to merge 1 commit intotrunkfrom
update/release-composer-install

Conversation

@pfefferle
Copy link
Copy Markdown
Member

Fixes #

Proposed changes:

  • Add composer run release step to install production-only Composer dependencies before building a release commit.
  • Force-add vendor/ (which is gitignored) so production dependencies are included in the release branch.
  • Restore dev dependencies after the release commit so the working tree remains usable.

Other information:

  • Have you written new tests for your changes, if applicable?

Testing instructions:

  • Run node bin/release.js and verify the release commit includes the vendor/ directory with only production dependencies.
  • After the script completes, verify dev dependencies are restored locally.

Changelog entry

  • Automatically create a changelog entry from the details below.
Changelog Entry Details

Significance

  • Patch

Type

  • Fixed - for any bug fixes

Message

Install production Composer dependencies before building release packages.

The release script was missing a composer install step, so releases
could be built without production dependencies bundled.
@pfefferle pfefferle self-assigned this Mar 26, 2026
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