打包名称修改
This commit is contained in:
@@ -36,7 +36,7 @@ android {
|
||||
variant ->
|
||||
variant.outputs.all {
|
||||
def date = new Date().format("MMddHHmm", TimeZone.getTimeZone("GMT+08"))
|
||||
outputFileName = "yinyou_" + buildType.name + "_v${Boolean.parseBoolean(with_jenkins) ? "" : (defaultConfig.versionName + "-" + date)}.apk"
|
||||
outputFileName = "yinyou_${buildType.name}_${channel}_v${defaultConfig.versionName}-${date}.apk"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -184,10 +184,12 @@ android {
|
||||
productFlavors {
|
||||
accompany {
|
||||
dimension 'default'
|
||||
manifestPlaceholders = [CHANNEL_VALUE: channel]
|
||||
}
|
||||
|
||||
oppo {
|
||||
dimension 'default'
|
||||
manifestPlaceholders = [CHANNEL_VALUE: channel]
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -93,7 +93,7 @@
|
||||
|
||||
<meta-data
|
||||
android:name="CHANNEL"
|
||||
android:value="official" />
|
||||
android:value="${CHANNEL_VALUE}" />
|
||||
|
||||
<!-- 刘海屏适配 begin -->
|
||||
<!-- 小米 -->
|
||||
|
@@ -22,3 +22,5 @@ version_code=330
|
||||
|
||||
with_flutter_aar=true
|
||||
with_jenkins=false
|
||||
|
||||
channel=official
|
||||
|
Reference in New Issue
Block a user