From bb4f0fc6d93f1de31e32e540772868b258c73e38 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Tue, 28 Apr 2015 19:57:26 +0200 Subject: [PATCH] Udpate build --- OsmAnd/build.gradle | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OsmAnd/build.gradle b/OsmAnd/build.gradle index 2b6a8a9daa..10b1fd1b64 100644 --- a/OsmAnd/build.gradle +++ b/OsmAnd/build.gradle @@ -157,8 +157,11 @@ def replaceNoTranslate(line) { 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")) { // appends build number to version number for dev builds - return line.replaceAll("[^<]*<", ">" + System.getenv("APP_FEATURES") + "<")