Add exlude non-stable version

This commit is contained in:
Adolfo Santiago 2022-02-19 07:03:39 +01:00
parent 2f54dcbe53
commit 840d7ec838
No known key found for this signature in database
GPG key ID: 244D6F9A317B4A65

View file

@ -136,7 +136,7 @@ static def addRepos(RepositoryHandler handler) {
}
static def isNonStable(String version) {
def stableKeyword = ["a", "alpha", "beta", "final", "ga", "m", "release", "rc"].any { it -> version.toLowerCase().contains(it) }
def stableKeyword = ["a", "alpha", "b", "beta", "final", "ga", "m", "release", "rc"].any { it -> version.toLowerCase().contains(it) }
return stableKeyword
}