Bump version to 2.110

This commit is contained in:
2023-11-03 13:46:37 +08:00
parent 61849cebe0
commit 91f3a3418b
2 changed files with 3 additions and 3 deletions

View File

@@ -58,7 +58,7 @@ androidComponents {
onVariants(selector().all()) {
it.outputs.forEach { output ->
val currentType = it.buildType
val currentSuffix = property.github.ci.commit.id.let { suffix -> if (suffix.isNotBlank()) "-$suffix" else "" }
val currentSuffix = property.github.ci.commit.id?.let { suffix -> if (suffix.isNotBlank()) "-$suffix" else "" } ?: ""
val currentVersion = "${output.versionName.get()}$currentSuffix(${output.versionCode.get()})"
if (output is com.android.build.api.variant.impl.VariantOutputImpl)
output.outputFileName.set("${property.project.name}-v$currentVersion-$currentType.apk")

View File

@@ -10,8 +10,8 @@ project.android.compileSdk=34
project.android.minSdk=28
project.android.targetSdk=34
project.app.packageName=com.fankes.miui.notify
project.app.versionName="2.101"
project.app.versionCode=41
project.app.versionName="2.110"
project.app.versionCode=42
project.app.signing.keyAlias=public
project.app.signing.keyPassword="123456"
project.app.signing.storePassword="123456"