Skip to content
Snippets Groups Projects
Commit 165848bc authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Sanitize apk name

parent 5a60061f
No related branches found
No related tags found
1 merge request!648Sanitize apk name
Pipeline #19714 passed with stage
in 3 minutes and 15 seconds
...@@ -148,7 +148,9 @@ android { ...@@ -148,7 +148,9 @@ android {
if (outputAbi != null) abiName = outputAbi if (outputAbi != null) abiName = outputAbi
output.versionCodeOverride = 10000000 + defaultConfig.versionCode + abiCodes.get(abiName, 0) output.versionCodeOverride = 10000000 + defaultConfig.versionCode + abiCodes.get(abiName, 0)
def outputName = "VLC-Android-" def outputName = "VLC-Android-"
outputName += variant.versionName + "-" + abiName + ".apk" outputName += variant.versionName.replace(" ", "-")
if (variant.buildType.name == "debug") outputName += "-debug"
outputName += "-" + abiName + ".apk"
output.outputFileName = outputName output.outputFileName = outputName
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment