Changed automatic version-numbering to be of format yyMMdd####, where #### is the build-number from the CI (which now allows up to 10k builds)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user