Fix up version code

This commit is contained in:
Arne 2024-10-17 16:53:33 +02:00
parent 5350ad45fa
commit 866e7b286c

View file

@ -147,8 +147,7 @@ android {
defaultConfig {
minSdkVersion 23
targetSdkVersion 34
versionCode 42025 + tags.size()
versionName grgit.describe(always: true)
versionCode 177
applicationId "eu.siacs.conversations"
def appName = "Conversations"
resValue "string", "app_name", appName
@ -321,7 +320,7 @@ android {
if (baseAbiVersionCode != null) {
output.versionCodeOverride = (100 * project.android.defaultConfig.versionCode) + baseAbiVersionCode
} else {
output.versionCodeOverride = (100 * project.android.defaultConfig.versionCode) + grgit.log(includes: ["HEAD"], excludes: [tags.last()]).size()
//output.versionCodeOverride = (100 * project.android.defaultConfig.versionCode) + grgit.log(includes: ["HEAD"], excludes: [tags.last()]).size()
}
}