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) { return when (previousVersion) {
null -> false null -> false
else -> currentVersion > previousVersion 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?.resume(Unit)
_continuation = null _continuation = null
} }

View File

@ -215,7 +215,7 @@ const sendReleaseMessage = async (release, config) => {
const content = { const content = {
"body": `New release`, "body": `New release`,
"format": "org.matrix.custom.html", "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" "msgtype": "m.text"
} }
await client.sendEvent(config.matrixRoomId, "m.room.message", content, "") await client.sendEvent(config.matrixRoomId, "m.room.message", content, "")

View File

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