mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
refactor: Re-route nightly releases to its own repo
Fixes GH-19
This commit is contained in:
parent
07deb040ff
commit
2c306afafc
1 changed files with 12 additions and 2 deletions
|
@ -129,9 +129,19 @@ class AppUpdateChecker(
|
|||
}
|
||||
|
||||
val RELEASE_TAG: String by lazy {
|
||||
"v${BuildConfig.VERSION_NAME}"
|
||||
if (BuildConfig.NIGHTLY) {
|
||||
"r${BuildConfig.COMMIT_COUNT}"
|
||||
} else {
|
||||
"v${BuildConfig.VERSION_NAME}"
|
||||
}
|
||||
}
|
||||
|
||||
const val GITHUB_REPO: String = "null2264/yokai"
|
||||
val GITHUB_REPO: String by lazy {
|
||||
if (BuildConfig.NIGHTLY) {
|
||||
"null2264/yokai-nightly"
|
||||
} else {
|
||||
"null2264/yokai"
|
||||
}
|
||||
}
|
||||
|
||||
val RELEASE_URL = "https://github.com/$GITHUB_REPO/releases/tag/$RELEASE_TAG"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue