manager: Add versionCode to avoid downgrade

This commit is contained in:
tiann
2023-01-06 14:16:57 +08:00
parent 7140f04243
commit 09d9e4aa02

View File

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