diff --git a/app/build.gradle b/app/build.gradle index 1f93a39..7732f72 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -2,7 +2,7 @@ buildscript { } def gitVersion() { - def process = "git for-each-ref refs/tags --sort=-taggerdate --format='%(refname:short)' --count=1".execute() + def process = "git for-each-ref refs/tags --sort=-authordate --format='%(refname:short)' --count=1".execute() return process.text.replaceAll("'", "").substring(1).replaceAll("\\.", "").trim() } @@ -170,4 +170,4 @@ def initAppLoginPropertiesIfNeeded() { entry(key: "appLoginPassword", value: System.getProperty("appLoginPassword")) } } -} \ No newline at end of file +}