-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FIX Update getInstallerVersion #6
FIX Update getInstallerVersion #6
Conversation
4936d41
to
54cc5af
Compare
Can you please add some details to the PR description about what is actually being fixed or updated with this PR? |
Updated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Depending on the decision around having release branches for the minor release process we'll probably also need some extra explicit logic (most likely just str_replace to remove the release suffix) for PRs on release branches.
} | ||
// use the latest minor version of installer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only situation where this isn't ideal is prefer-lowest won't actually be testing the lowest version of framework according to the constraint in composer.json.... but we can probably live with that.
0f8ca86
to
1f056fc
Compare
@GuySartorelli have made requested changes |
1f056fc
to
9ce493f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merge on green
Edit: lol it went green as soon as I said this
Issue silverstripe/gha-ci#11
Updating the logic in
getInstallerVersion()
so that the correct version is returnedExample failure
PHP Warning: Undefined array key "4.10/module-standards" in /home/runner/work/_actions/silverstripe/gha-generate-matrix/v1/job_creator.php on line 39
Also a slight refactor to allow adding unit tests for the yaml parsing