Update build.gradle
This commit is contained in:
parent
07fdd43827
commit
264c780952
1 changed files with 6 additions and 6 deletions
|
@ -183,13 +183,13 @@ def replaceNoTranslate(line) {
|
|||
if (line.contains("\"app_edition\"") && System.getenv("APP_EDITION")) {
|
||||
return line.replaceAll(">[^<]*<", ">" + System.getenv("APP_EDITION") + "<")
|
||||
}
|
||||
if (line.contains("\"app_version\"") && System.getenv("APK_VERSION")) {
|
||||
return line.replaceAll(">[^<]*<", ">" + System.getenv("APK_VERSION") + "<")
|
||||
}
|
||||
if (line.contains("\"app_version\"") && System.getenv("APK_VERSION_SUFFIX")) {
|
||||
// if (line.contains("\"app_version\"") && System.getenv("APK_VERSION")) {
|
||||
// return line.replaceAll(">[^<]*<", ">" + System.getenv("APK_VERSION") + "<")
|
||||
// }
|
||||
// if (line.contains("\"app_version\"") && System.getenv("APK_VERSION_SUFFIX")) {
|
||||
// appends build number to version number for dev builds
|
||||
return line.replaceAll("</", System.getenv("APK_VERSION_SUFFIX") + "</")
|
||||
}
|
||||
// return line.replaceAll("</", System.getenv("APK_VERSION_SUFFIX") + "</")
|
||||
// }
|
||||
if (line.contains("\"versionFeatures\"") && System.getenv("APP_FEATURES")) {
|
||||
return line.replaceAll(">[^<]*<", ">" + System.getenv("APP_FEATURES") + "<")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue