mirror of
https://github.com/JulianGro/overte.git
synced 2025-08-08 05:47:40 +02:00
Conditionally rename the APK for Jenkins
This commit is contained in:
parent
72792552c8
commit
137118c7fd
1 changed files with 3 additions and 1 deletions
|
@ -36,7 +36,9 @@ android {
|
||||||
buildTypes {
|
buildTypes {
|
||||||
applicationVariants.all { variant ->
|
applicationVariants.all { variant ->
|
||||||
variant.outputs.all {
|
variant.outputs.all {
|
||||||
outputFileName = "app_" + RELEASE_NUMBER + "_" + RELEASE_TYPE + ".apk"
|
if (RELEASE_NUMBER != '0') {
|
||||||
|
outputFileName = "app_" + RELEASE_NUMBER + "_" + RELEASE_TYPE + ".apk"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue