Merge pull request #255 from ouchadam/release-candidate
[Auto] Release Candidate
This commit is contained in:
commit
7bf40f3466
|
@ -25,8 +25,6 @@ class BetaVersionUpgradeUseCase(
|
|||
return when (previousVersion) {
|
||||
null -> false
|
||||
else -> currentVersion > previousVersion
|
||||
}.also {
|
||||
applicationPreferences.setVersion(ApplicationVersion(currentVersion))
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -38,7 +36,8 @@ class BetaVersionUpgradeUseCase(
|
|||
}
|
||||
}
|
||||
|
||||
fun notifyUpgraded() {
|
||||
suspend fun notifyUpgraded() {
|
||||
applicationPreferences.setVersion(ApplicationVersion(buildMeta.versionCode))
|
||||
_continuation?.resume(Unit)
|
||||
_continuation = null
|
||||
}
|
||||
|
|
|
@ -215,7 +215,7 @@ const sendReleaseMessage = async (release, config) => {
|
|||
const content = {
|
||||
"body": `New release`,
|
||||
"format": "org.matrix.custom.html",
|
||||
"formatted_body": `New release rolling out <a href="${release.url}">${release.tag_name}</a>`,
|
||||
"formatted_body": `New release rolling out <a href="${release.html_url}">${release.tag_name}</a>`,
|
||||
"msgtype": "m.text"
|
||||
}
|
||||
await client.sendEvent(config.matrixRoomId, "m.room.message", content, "")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"code": 26,
|
||||
"name": "06/11/2022-V1"
|
||||
"code": 27,
|
||||
"name": "06/11/2022-V2"
|
||||
}
|
Loading…
Reference in New Issue