pull version from VERSION

This commit is contained in:
2018-05-24 21:52:40 +02:00
parent 04ddbc708e
commit ec6df03fbc
+2 -6
View File
@@ -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","")
}
}