Skip to content

Commit

Permalink
处理github workflow执行的时候gradle去getName()变成了release了
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMelody committed Feb 15, 2023
1 parent 27346fe commit a93e89d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion sample-baidu/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ android {

android.applicationVariants.all { variant ->
variant.outputs.all {
outputFileName = "${getName()}_${defaultConfig.versionName}_${formattedDate}-${variant.buildType.name}.apk"
outputFileName = "baidu_${defaultConfig.versionName}_${formattedDate}-${variant.buildType.name}.apk"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion sample-gaode/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ android {

android.applicationVariants.all { variant ->
variant.outputs.all {
outputFileName = "${getName()}_${defaultConfig.versionName}_${formattedDate}-${variant.buildType.name}.apk"
outputFileName = "sample-gaode_${defaultConfig.versionName}_${formattedDate}-${variant.buildType.name}.apk"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion sample-google/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ android {

android.applicationVariants.all { variant ->
variant.outputs.all {
outputFileName = "${getName()}_${defaultConfig.versionName}_${formattedDate}-${variant.buildType.name}.apk"
outputFileName = "google_${defaultConfig.versionName}_${formattedDate}-${variant.buildType.name}.apk"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion sample-huawei/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ android {

android.applicationVariants.all { variant ->
variant.outputs.all {
outputFileName = "${getName()}_${defaultConfig.versionName}_${formattedDate}-${variant.buildType.name}.apk"
outputFileName = "huawei_${defaultConfig.versionName}_${formattedDate}-${variant.buildType.name}.apk"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion sample-tencent/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ android {

android.applicationVariants.all { variant ->
variant.outputs.all {
outputFileName = "${getName()}_${defaultConfig.versionName}_${formattedDate}-${variant.buildType.name}.apk"
outputFileName = "tencent_${defaultConfig.versionName}_${formattedDate}-${variant.buildType.name}.apk"
}
}
}
Expand Down

0 comments on commit a93e89d

Please sign in to comment.