Adds "CR" as a possible stability modifier for release candidates.
Why?
Hibernate uses "CR" ("Candidate Release") instead of "RC" to indicate release candidate versions. Previously, these were not properly detected.
How?
The extension method String.findStabilityLevel in the Version class now matches CR to StabilityLevel.ReleaseCandidate instead of null.
Testing?
I added some of Hibernate's CR versions to ReleaseCandidate.txt, which is used in VersionComparatorTest.testStabilityLevel. I then re-ran the check task in the plugins project.
What?
Fixes #673.
Adds "CR" as a possible stability modifier for release candidates.
Why?
Hibernate uses "CR" ("Candidate Release") instead of "RC" to indicate release candidate versions. Previously, these were not properly detected.
How?
The extension method
String.findStabilityLevel
in theVersion
class now matchesCR
toStabilityLevel.ReleaseCandidate
instead ofnull
.Testing?
I added some of Hibernate's CR versions to
ReleaseCandidate.txt
, which is used inVersionComparatorTest.testStabilityLevel
. I then re-ran thecheck
task in theplugins
project.