Still trying to fix the auto version code messe.
This commit is contained in:
parent
bc96b314c2
commit
44c79892a0
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user