fix: ignore fdroid builds in beta
This commit is contained in:
parent
c9699ba1fc
commit
f088b90964
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ object AppUpdater {
|
||||||
.parsed<JsonArray>().map {
|
.parsed<JsonArray>().map {
|
||||||
Mapper.json.decodeFromJsonElement<GithubResponse>(it)
|
Mapper.json.decodeFromJsonElement<GithubResponse>(it)
|
||||||
}
|
}
|
||||||
val r = res.filter { it.prerelease }.maxByOrNull {
|
val r = res.filter { it.prerelease }.filter { !it.tagName.contains("fdroid") }.maxByOrNull {
|
||||||
it.timeStamp()
|
it.timeStamp()
|
||||||
} ?: throw Exception("No Pre Release Found")
|
} ?: throw Exception("No Pre Release Found")
|
||||||
val v = r.tagName.substringAfter("v", "")
|
val v = r.tagName.substringAfter("v", "")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue