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

JavaFX early access versions are considered stable #721

Open
1 task done
Vampire opened this issue Jul 2, 2024 · 0 comments
Open
1 task done

JavaFX early access versions are considered stable #721

Vampire opened this issue Jul 2, 2024 · 0 comments

Comments

@Vampire
Copy link
Contributor

Vampire commented Jul 2, 2024

🐛 Describe the bug

JavaFX early access versions like 23-ea+3 are considered stable.

⚠️ Current behavior

JavaFX early access versions are added as update comments

✅ Expected behavior

JavaFX early access versions are not added as update comments

💣 Steps to reproduce

  • depend on org.openjfx:javafx-base:13.0.1
  • do refreshVersions

Work-around

rejectVersionIf {
    fun Version.getAugmentedStabilityLevel() =
        // work-around for https://github.com/Splitties/refreshVersions/issues/721
        if ((moduleId.group == "org.openjfx") && (value.contains("ea"))) {
            StabilityLevel.EarlyAccessProgram
        } else {
            stabilityLevel
        }
    candidate.getAugmentedStabilityLevel().isLessStableThan(current.getAugmentedStabilityLevel())
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant