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

fix-openal-soft-deadlink
Riccardo Balbo 5 years ago committed by GitHub
parent cdcf0512d9
commit 124ef031d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      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

Loading…
Cancel
Save