From ddac2870af002ca8ce244a36e7366891fd688002 Mon Sep 17 00:00:00 2001 From: Amine Date: Sat, 17 Nov 2018 20:48:18 +0100 Subject: [PATCH] Changed git tag sort for it to work on the jenkins server. --- app/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index dbb0e34..aa0fa9e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,7 +10,7 @@ ext { } 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() }