This commit is contained in:
Amine 2018-12-01 19:32:28 +01:00
parent 0b07f2a407
commit 200851894b

View File

@ -2,7 +2,7 @@ buildscript {
}
def gitVersion() {
def process = "git for-each-ref refs/tags --sort=-authordate --format='%(refname:short)' --count=1".execute()
def process = 'git describe --contains HEAD'.execute()
return process.text.replaceAll("'", "").substring(1).replaceAll("\\.", "").trim()
}