manager: Add versionCode to avoid downgrade

This commit is contained in:
tiann
2023-01-06 14:16:57 +08:00
parent 470b656c8d
commit bc7207ad8f

View File

@@ -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 {