Skip to content

Commit

Permalink
Update Github's release to matching vx.xx.xx and rxxxx format
Browse files Browse the repository at this point in the history
  • Loading branch information
cuong-tran committed Jul 10, 2024
1 parent 5049080 commit 922c453
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions data/src/main/java/tachiyomi/data/release/GithubRelease.kt
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,8 @@ val gitHubUsernameMentionRegex =
* to: [komikku-app/[email protected]](https://github.com/komikku-app/komikku/compare/23d862d17...48fb4a2e6)
*/
val gitHubCommitsCompareRegex =
"""https://github.com/(?<owner>[^/]+)/(?<repo>[^/]+)/compare/(?<from>[0-9a-f]+)...(?<to>[0-9a-f]+)""".toRegex(
RegexOption.IGNORE_CASE,
)
"""https://github.com/(?<owner>[^/]+)/(?<repo>[^/]+)/compare/(?<from>[0-9a-f.rv]+)\.\.\.(?<to>[0-9a-f.rv]+)"""
.toRegex(RegexOption.IGNORE_CASE)
// KMK <--

val releaseMapper: (GithubRelease) -> Release = {
Expand Down

0 comments on commit 922c453

Please sign in to comment.