aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index 2c29715..ba78b16 100644
--- a/build.gradle
+++ b/build.gradle
@@ -10,7 +10,7 @@ version = gitVersion()
group = 'ftbsc'
archivesBaseName = 'bscv'
-def shortVersion = version.split('-')[0]
+def shortVersion = version.split('-')[0].replaceAll(".dirty", "") // necessary when there are no extra commits on tags, and thus no dash
project.ext {
deployJarDo = getProjectProperty("deployJar.do", "false")