Skip to content

Conversation

@Jade-GG
Copy link
Collaborator

@Jade-GG Jade-GG commented Dec 11, 2025

These tests broke because it tried to require dev-4.x. Packagist automatically swaps around the order of the dev and the branch name (4.x) when that branch name is numeric, i.e. a version.

By doing this we catch both possibilities in the composer require without having to make any sort of complicated if/else structure in the action.

This PR adds a simple check that will move -dev to the end if the CORE_HASH matches ^[0-9]+\.[xX]$.

ref: RAP-1689

@Jade-GG Jade-GG marked this pull request as draft December 11, 2025 09:25
@Jade-GG
Copy link
Collaborator Author

Jade-GG commented Dec 11, 2025

Invalid version string "8610ae11cb380a0b946ea24166cc5cf3e9c888df-dev"

😞

@Jade-GG Jade-GG marked this pull request as ready for review December 11, 2025 10:03
@royduin royduin merged commit dbc5bde into 4.x Dec 11, 2025
19 of 21 checks passed
@royduin royduin deleted the bugfix/require-dev branch December 11, 2025 13:12
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.

4 participants