From ec6df03fbca05ef3226568221d52ddd552a92b60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Thu, 24 May 2018 11:30:17 +0200 Subject: [PATCH] pull version from VERSION --- android/app/build.gradle | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 4ec0ec62bc..75397bbc0f 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -111,12 +111,8 @@ def getVersionName = { -> if (project.hasProperty("releaseVersion")) { return project.releaseVersion } - - exec { - commandLine "git", "describe", "--tags", "--always", "--dirty=+" - standardOutput = stdOut - } - return stdOut.toString().replaceAll("\\s","") + version = new File('../../VERSION').text + return version.replaceAll("\\s","") } }