refreshVersions icon indicating copy to clipboard operation
refreshVersions copied to clipboard

Add "CR" as a stability level marker for release candidates.

Open GeorgEchterling opened this issue 1 year ago • 1 comments

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 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.

GeorgEchterling avatar Mar 02 '23 11:03 GeorgEchterling

The failing test was "BundledDependenciesTest > Version keys should be up to date() FAILED". It passes locally, I don't know why it fails in CI.

GeorgEchterling avatar Mar 03 '23 15:03 GeorgEchterling