mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-21 08:53:57 +00:00
fix: ignore fdroid builds in beta
This commit is contained in:
@@ -39,7 +39,7 @@ object AppUpdater {
|
||||
.parsed<JsonArray>().map {
|
||||
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()
|
||||
} ?: throw Exception("No Pre Release Found")
|
||||
val v = r.tagName.substringAfter("v", "")
|
||||
|
||||
Reference in New Issue
Block a user