Merge pull request #255 from ouchadam/release-candidate

[Auto] Release Candidate
This commit is contained in:
Adam Brown 2022-11-06 21:46:58 +00:00 committed by GitHub
commit 7bf40f3466
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 6 deletions

View File

@ -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
}

View File

@ -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, "")

View File

@ -1,4 +1,4 @@
{
"code": 26,
"name": "06/11/2022-V1"
"code": 27,
"name": "06/11/2022-V2"
}