From bea6f0beb4b4e752220940a4ec2d8a5c3fd17a5b Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Thu, 31 Dec 2020 19:33:56 +1000 Subject: [PATCH] Android: Fix incorrect version string on build --- android/app/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index b9b39ec2b..44f1292dd 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -59,7 +59,7 @@ def getVersion() { def versionNumber = '0.0-unknown' try { - versionNumber = 'git describe --tags --exclude latest'.execute([], project.rootDir).text + versionNumber = 'git describe --tags --exclude latest --exclude preview'.execute([], project.rootDir).text .trim() .replaceAll(/(-0)?-[^-]+$/, "") } catch (Exception e) {