chore(build): 更改了版本号格式
This commit is contained in:
parent
668e062327
commit
e39f577583
|
@ -23,8 +23,12 @@ applicationProperties.load(new FileInputStream(rootProject.file("application.pro
|
|||
def SHA1 = System.getenv("CIRCLE_SHA1")
|
||||
def applicationVersionCode = applicationProperties["versionCode"].toInteger()
|
||||
def applicationVersionName = applicationProperties["versionName"]
|
||||
def isPerVersion = applicationProperties["isPerVersion"] == "true"
|
||||
if (SHA1 != null) {
|
||||
applicationVersionName = applicationVersionName + "-${SHA1.substring(0, 8)}"
|
||||
applicationVersionName = applicationVersionName + ".${SHA1.substring(0, 8)}"
|
||||
}
|
||||
if (isPerVersion) {
|
||||
applicationVersionName = applicationVersionName + "-${applicationProperties["perVersion"]}"
|
||||
}
|
||||
|
||||
andResGuard {
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
versionCode=38006
|
||||
versionName=3.8.1-beta
|
||||
versionName=3.8.1
|
||||
isPerVersion=true
|
||||
perVersion=beta1
|
Loading…
Reference in New Issue