Fix release update version checking & update release note template
This commit is contained in:
parent
3f00487e95
commit
fde71c0b70
10 changed files with 23 additions and 27 deletions
4
.github/ISSUE_TEMPLATE/report_issue.yml
vendored
4
.github/ISSUE_TEMPLATE/report_issue.yml
vendored
|
|
@ -53,7 +53,7 @@ body:
|
|||
label: Komikku version
|
||||
description: You can find your Komikku version in **More → About**.
|
||||
placeholder: |
|
||||
Example: "1.11.2"
|
||||
Example: "1.12.1"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
|
|
@ -98,7 +98,7 @@ body:
|
|||
required: true
|
||||
- label: I have gone through the [FAQ](https://mihon.app/docs/faq/general) and [troubleshooting guide](https:/mihon.app/docs/guides/troubleshooting/).
|
||||
required: true
|
||||
- label: I have updated the app to version **[1.11.2](https://github.com/komikku-app/komikku/releases/latest)**.
|
||||
- label: I have updated the app to version **[1.12.1](https://github.com/komikku-app/komikku/releases/latest)**.
|
||||
required: true
|
||||
- label: I have updated all installed extensions.
|
||||
required: true
|
||||
|
|
|
|||
2
.github/ISSUE_TEMPLATE/request_feature.yml
vendored
2
.github/ISSUE_TEMPLATE/request_feature.yml
vendored
|
|
@ -33,7 +33,7 @@ body:
|
|||
required: true
|
||||
- label: If this is an issue with an official extension, I should be opening an issue in the [extensions repository](https://github.com/komikku-app/extensions/issues/new/choose).
|
||||
required: true
|
||||
- label: I have updated the app to version **[1.11.2](https://github.com/komikku-app/komikku/releases/latest)**.
|
||||
- label: I have updated the app to version **[1.12.1](https://github.com/komikku-app/komikku/releases/latest)**.
|
||||
required: true
|
||||
- label: I will fill out all of the requested information in this form.
|
||||
required: true
|
||||
|
|
|
|||
12
.github/workflows/build_preview.yml
vendored
12
.github/workflows/build_preview.yml
vendored
|
|
@ -215,17 +215,17 @@ jobs:
|
|||
tag_name: ${{ needs.prepare-build.outputs.TAG_NAME }}
|
||||
name: Komikku Preview ${{ needs.prepare-build.outputs.TAG_NAME }} (${{ needs.prepare-build.outputs.VERSION_TAG }})
|
||||
body: |
|
||||
### What's Changed
|
||||
#### New
|
||||
#### What's Changed
|
||||
##### New
|
||||
|
||||
#### Improve
|
||||
##### Improve
|
||||
|
||||
#### Fix
|
||||
|
||||
**Full Changelog**: https://github.com/komikku-app/komikku/compare/${{ needs.prepare-build.outputs.PREV_TAG_NAME }}...${{ needs.prepare-build.outputs.TAG_NAME }}
|
||||
##### Fix
|
||||
|
||||
${{ needs.prepare-build.outputs.COMMIT_LOGS }}
|
||||
|
||||
**Full Changelog**: [${{ needs.prepare-build.outputs.TAG_NAME }}](https://github.com/komikku-app/komikku/compare/${{ needs.prepare-build.outputs.PREV_TAG_NAME }}...${{ needs.prepare-build.outputs.TAG_NAME }})
|
||||
|
||||
---
|
||||
|
||||
### Checksums
|
||||
|
|
|
|||
14
.github/workflows/build_release.yml
vendored
14
.github/workflows/build_release.yml
vendored
|
|
@ -191,18 +191,18 @@ jobs:
|
|||
tag_name: ${{ needs.prepare-build.outputs.VERSION_TAG }}
|
||||
name: Komikku ${{ needs.prepare-build.outputs.VERSION_TAG }}
|
||||
body: |
|
||||
### What's Changed
|
||||
#### New
|
||||
#### What's Changed
|
||||
##### New
|
||||
|
||||
#### Improve
|
||||
##### Improve
|
||||
|
||||
#### Fix
|
||||
##### Fix
|
||||
|
||||
${{ needs.prepare-build.outputs.COMMIT_LOGS }}
|
||||
|
||||
##### Based on
|
||||
|
||||
**Full Changelog**: https://github.com/komikku-app/komikku/compare/${{ needs.prepare-build.outputs.PREV_TAG_NAME }}...${{ needs.prepare-build.outputs.VERSION_TAG }}
|
||||
|
||||
${{ needs.prepare-build.outputs.COMMIT_LOGS }}
|
||||
**Full Changelog**: [${{ needs.prepare-build.outputs.VERSION_TAG }}](https://github.com/komikku-app/komikku/compare/${{ needs.prepare-build.outputs.PREV_TAG_NAME }}...${{ needs.prepare-build.outputs.VERSION_TAG }})
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ android {
|
|||
applicationId = "app.komikku"
|
||||
|
||||
versionCode = 71
|
||||
versionName = "1.12.0"
|
||||
versionName = "1.12.1"
|
||||
|
||||
buildConfigField("String", "COMMIT_COUNT", "\"${getCommitCount()}\"")
|
||||
buildConfigField("String", "COMMIT_SHA", "\"${getGitSha()}\"")
|
||||
|
|
|
|||
|
|
@ -16,11 +16,6 @@ class AppUpdateChecker(
|
|||
private val getApplicationRelease: GetApplicationRelease by injectLazy()
|
||||
|
||||
suspend fun checkForUpdate(context: Context, forceCheck: Boolean = false): GetApplicationRelease.Result {
|
||||
// Disable app update checks for older Android versions that we're going to drop support for
|
||||
// if (Build.VERSION.SDK_INT < Build.VERSION_CODES.P) {
|
||||
// return GetApplicationRelease.Result.OsTooOld
|
||||
// }
|
||||
|
||||
return withIOContext {
|
||||
val result = getApplicationRelease.await(
|
||||
GetApplicationRelease.Arguments(
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<changelog bulletedList="true">
|
||||
<changelogversion versionName="1.11.3" changeDate="Oct 28, 2024">
|
||||
<changelogversion versionName="1.12.1" changeDate="Oct 29, 2024">
|
||||
<changelogtext>[b]New:[/b] Error screen</changelogtext>
|
||||
<changelogtext>[b]New:[/b] Hidden categories</changelogtext>
|
||||
<changelogtext>[b]New:[/b] Range-selection for Migration</changelogtext>
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ val gitHubUsernameMentionRegex =
|
|||
* to: [komikku-app/komikku@23d862d17...48fb4a2e6](https://github.com/komikku-app/komikku/compare/23d862d17...48fb4a2e6)
|
||||
*/
|
||||
val gitHubCommitsCompareRegex =
|
||||
"""https://github.com/(?<owner>[^/]+)/(?<repo>[^/]+)/compare/(?<from>[0-9a-f.rv]+)\.\.\.(?<to>[0-9a-f.rv]+)"""
|
||||
"""(\[[^]+]]\()?https://github.com/(?<owner>[^/]+)/(?<repo>[^/]+)/compare/(?<from>[0-9a-f.rv]+)\.\.\.(?<to>[0-9a-f.rv]+)\)?"""
|
||||
.toRegex(RegexOption.IGNORE_CASE)
|
||||
// KMK <--
|
||||
|
||||
|
|
|
|||
|
|
@ -117,6 +117,7 @@ class GetApplicationRelease(
|
|||
if (newSemVer[index] > i) {
|
||||
return true
|
||||
}
|
||||
if (newSemVer[index] < i) return false
|
||||
}
|
||||
|
||||
false
|
||||
|
|
|
|||
|
|
@ -16,9 +16,9 @@ import java.time.Instant
|
|||
|
||||
class GetApplicationReleaseTest {
|
||||
|
||||
lateinit var getApplicationRelease: GetApplicationRelease
|
||||
lateinit var releaseService: ReleaseService
|
||||
lateinit var preference: Preference<Long>
|
||||
private lateinit var getApplicationRelease: GetApplicationRelease
|
||||
private lateinit var releaseService: ReleaseService
|
||||
private lateinit var preference: Preference<Long>
|
||||
|
||||
@BeforeEach
|
||||
fun beforeEach() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue