Skip to content

Commit

Permalink
Add support for new K9Mail tag (#651)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazushi3 authored Nov 27, 2024
1 parent e73c870 commit 18bef8e
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,13 @@ object K9Mail : AppBase() {
isSuitableAsset = { it.name.matches("k9mail-([0-9.]+).apk".toRegex()) },
requireReleaseDescription = false,
)
val version = result.tagName.replace("K9MAIL_", "").replace("_", ".")
return LatestVersion(
downloadUrl = result.url,
version = Version(result.tagName),
version = Version(version),
publishDate = result.releaseDate,
exactFileSizeBytesOfDownload = result.fileSizeBytes,
fileHash = null,
)
}
}
}

0 comments on commit 18bef8e

Please sign in to comment.