Still trying to fix the auto version code messe.

This commit is contained in:
Amine Bou 2017-12-05 22:35:14 +01:00
parent bc96b314c2
commit 44c79892a0

View File

@ -20,7 +20,7 @@ def gitVersion() {
}
def versionCodeFromGit() {
def versionCode = gitVersion() + (ext.configuration.buildDate.format("yyMd")).toInteger()
def versionCode = gitVersion() + (ext.configuration.buildDate.format("yyMMdd")).toInteger()
println "version code " + versionCode
return versionCode.toInteger()
}