Splitties / refreshVersions

Life is too short to google for dependencies and versions
https://splitties.github.io/refreshVersions/
MIT License
1.63k stars 107 forks source link

CR versions should be recognized as release candidates #673

Open GeorgEchterling opened 1 year ago

GeorgEchterling commented 1 year ago
refreshVersions {
    rejectVersionIf {
        @Suppress("UnstableApiUsage")
        // Do not recommend upgrades from stable to unstable versions.
        candidate.stabilityLevel.isLessStableThan(current.stabilityLevel)
    }
}

⚠️ Current behavior

Versions such as 6.2.0.CR1and 6.2.0.CR2 are recognized as StabilityLevel.Stable.

✅ Expected behavior

Versions such as 6.2.0.CR1and 6.2.0.CR2 should be recognized as StabilityLevel.ReleaseCandidate.

💣 Steps to reproduce