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) {