-
Notifications
You must be signed in to change notification settings - Fork 59
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
#114 skip pre-release versions when picking the last minor release #118
#114 skip pre-release versions when picking the last minor release #118
Conversation
Previous assertion was expecting latest *patch* release, which isn't what the `PickLastMinorVersionFromCollection` system is supposed to do.
…ection logic Pre-releases are not to be considered for default stability checks.
@@ -28,6 +28,7 @@ public function lastStableMinorVersionForCollectionProvider() : array | |||
['2.2.0', ['1.2.0', '2.2.0', '2.2.1', '1.2.1']], | |||
['2.2.0', ['1.2.0', '2.2.0', '2.2.0-alpha1', '2.2.1', '1.2.1']], | |||
['2.2.0', ['1.2.0', '2.2.0-alpha1', '2.2.0', '2.2.1', '1.2.1']], | |||
['2.6.0', ['1.1.1', '3.0.0-alpha1', '2.7.0-beta1', '2.6.2', '2.0.0', '2.6.1', '2.6.0']], |
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.
Shouldn't this be 2.6.2
?
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.
I've explicitly changed it in 33e851f (see commit message)
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.
Sorry, didn't get the "lastMinorVersion" thingy....
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.
That's alright - it was a design decision :-)
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.
Nice, yes this should've been caught earlier, thanks @schmunk42 and @Ocramius
Fixes #114
Fixes #117