|
|
@ -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 |
|
|
|