Commit d4ae9c37 by Denglingling

调整打包文件名

(cherry picked from commit a39ad05f)
parent 3f1a84e8
Showing with 6 additions and 1 deletions
......@@ -106,7 +106,7 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"
versionName "1.1.4"
missingDimensionStrategy 'react-native-camera', 'general'
}
splits {
......@@ -134,6 +134,7 @@ android {
output.versionCodeOverride =
versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
}
output.outputFileName = "v${defaultConfig.versionName}_${variant.buildType.name}_${releaseTime()}.apk"
}
}
// new add...
......@@ -149,6 +150,10 @@ android {
}
}
static def releaseTime() {
return new Date().format("MMdd", TimeZone.getTimeZone("UTC"))
}
dependencies {
implementation project(':react-native-camera')
implementation project(':react-native-splash-screen')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment