From 89fc35882d3b05c870852d9c2657aefa9f74589b Mon Sep 17 00:00:00 2001 From: "Steven M. Pritko" Date: Fri, 3 Mar 2017 17:12:20 -0500 Subject: [PATCH] Make sure version is set to git tag version Signed-off-by: Steven M. Pritko --- build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index dcceaa259..4735458ce 100644 --- a/build.gradle +++ b/build.gradle @@ -34,7 +34,8 @@ if (!project.hasProperty('nexusUploadPwd')) { } } - +// Set version git version +version gitVersion() if ( "$System.env.BRANCH_NAME" == null ) { version = versionDetails().lastTag+"-SNAPSHOT" }