See #254.
This commit is contained in:
parent
0b07f2a407
commit
200851894b
@ -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()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user