From ac9cbe1b28def906a6ffd7dc5260d60ef4a6fb59 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Mon, 20 Nov 2023 15:19:41 -0500 Subject: [PATCH] Revert "Temporarily disable auto number" This reverts commit f6ba805fa80fc86e5c61352fb89110037ba438db. --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 07a298f26..72bb7dedb 100644 --- a/build.gradle +++ b/build.gradle @@ -128,7 +128,7 @@ android { defaultConfig { minSdkVersion 21 targetSdkVersion 34 - versionCode 4204607 + versionCode 42025 + tags.size() versionName grgit.describe(always: true) applicationId "eu.siacs.conversations" def appName = "Conversations" @@ -305,7 +305,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() } } -- 2.45.2