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