From b321594d46c688324c569583729b80a11342c3b1 Mon Sep 17 00:00:00 2001 From: Alexander Pacha Date: Sun, 25 Sep 2016 21:45:10 +0200 Subject: [PATCH] Changed automatic version-numbering to be of format yyMMdd####, where #### is the build-number from the CI (which now allows up to 10k builds) --- app/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 6549446..e19750b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,8 +1,8 @@ apply plugin: 'com.android.application' def date = new Date() -def formattedDate = date.format('yyyyMMdd') -def code = formattedDate.toInteger() * 100 +def formattedDate = date.format('yyMMdd') +def code = formattedDate.toInteger() * 10000 def buildNumber = System.getenv("BITRISE_BUILD_NUMBER") as Integer ?: 0 android {