Skip to content
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

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

GeorgEchterling
Copy link

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 GeorgEchterling changed the title Adds "CR" as a stability level marker for release candidates. Add "CR" as a stability level marker for release candidates. Mar 2, 2023
@GeorgEchterling
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CR versions should be recognized as release candidates
1 participant