Replies: 1 comment
-
|
The fun isNonStable(version: String): Boolean {
val stableKeyword = listOf("RELEASE", "FINAL", "GA").any { version.toUpperCase().contains(it) }
val regex = "^[0-9,.v-]+(-r)?$".toRegex()
val isStable = stableKeyword || regex.matches(version)
return isStable.not()
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I added the isNonStable code to the top level build DSL file and still when I run dependencyUpdates the report still compares to an alpha, beta or rc version which is what I don't want. How to fix this?
example output
Beta Was this translation helpful? Give feedback.
All reactions