Skip to content

Commit 96a5afb

Browse files
committed
Boom 💥! 更新文件输出名
1 parent 97d85bd commit 96a5afb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

android/app/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ android {
107107
applicationVariants.all { variant ->
108108
variant.outputs.each { output ->
109109
if (variant.buildType.name == 'debug') {
110-
def fileName = "SwiftChat-Debug.apk"
110+
def fileName = "SwiftChat-Debug-v${versionName}.apk"
111111
output.outputFileName = fileName
112112
}
113113
}
@@ -122,7 +122,7 @@ android {
122122
applicationVariants.all { variant ->
123123
variant.outputs.each { output ->
124124
if ( variant.buildType.name == 'release') {
125-
def fileName = "SwiftChat-Release.apk"
125+
def fileName = "SwiftChat-Release-v${versionName}.apk"
126126
output.outputFileName = fileName
127127
}
128128
}

0 commit comments

Comments
 (0)