Remove "v" from version tag to maintain consistency with old releases

v3.3
Riccardo Balbo 5 years ago committed by Paul Speed
parent 98f6d326e1
commit a2169999e5
  1. 3
      version.gradle

@ -37,6 +37,9 @@ task configureVersionInfo {
jmeGitTag = jmeGitTag.name jmeGitTag = jmeGitTag.name
jmeFullVersion = jmeGitTag jmeFullVersion = jmeGitTag
jmeVersionTag = "" jmeVersionTag = ""
if(jmeFullVersion.startsWith("v")&&Character.isDigit(jmeFullVersion.charAt(1))){
jmeFullVersion=jmeFullVersion.substring(1);
}
} else { } else {
if(useCommitHashAsVersionName=="true"&&jmeGitHash!=null&&!jmeGitHash.equals("")){ if(useCommitHashAsVersionName=="true"&&jmeGitHash!=null&&!jmeGitHash.equals("")){
jmeFullVersion = jmeGitHash jmeFullVersion = jmeGitHash

Loading…
Cancel
Save