Merge pull request #255 from aminecmi/fdroid/build

A fix for #254.
This commit is contained in:
Amine Bou
2018-12-02 03:54:36 +01:00
committed by GitHub

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()
}