manager: Add versionCode to avoid downgrade
This commit is contained in:
@@ -54,7 +54,7 @@ fun getGitDescribe(): String {
|
|||||||
fun getVersionCode(): Int {
|
fun getVersionCode(): Int {
|
||||||
val commitCount = getGitCommitCount()
|
val commitCount = getGitCommitCount()
|
||||||
val major = 1
|
val major = 1
|
||||||
return major * 10000 + commitCount
|
return major * 10000 + commitCount + 200
|
||||||
}
|
}
|
||||||
|
|
||||||
fun getVersionName(): String {
|
fun getVersionName(): String {
|
||||||
|
|||||||
Reference in New Issue
Block a user