From 124ef031d403c3d59acb871e5705d0902271d1a9 Mon Sep 17 00:00:00 2001 From: Riccardo Balbo Date: Tue, 17 Dec 2019 14:30:42 +0100 Subject: [PATCH] Remove "v" from version tag to maintain consistency with old releases --- version.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/version.gradle b/version.gradle index 80972003a..909bd41e2 100644 --- a/version.gradle +++ b/version.gradle @@ -37,6 +37,9 @@ task configureVersionInfo { jmeGitTag = jmeGitTag.name jmeFullVersion = jmeGitTag jmeVersionTag = "" + if(jmeFullVersion.startsWith("v")&&Character.isDigit(jmeFullVersion.charAt(1))){ + jmeFullVersion=jmeFullVersion.substring(1); + } } else { if(useCommitHashAsVersionName=="true"&&jmeGitHash!=null&&!jmeGitHash.equals("")){ jmeFullVersion = jmeGitHash