The version is now calculated internally.
This commit is contained in:
parent
909b03e861
commit
6455662d23
10 changed files with 60 additions and 198 deletions
|
@ -14,15 +14,7 @@ public final class {{className}} {
|
|||
public final static int PATCH = {{patch}};
|
||||
public final static String PRERELEASE = "{{preRelease}}";
|
||||
public final static String BUILDMETA = "{{buildMeta}}";
|
||||
|
||||
/**
|
||||
* The full semantic version string.
|
||||
*/
|
||||
public final static String VERSION = Integer.toString(MAJOR) + '.'
|
||||
+ Integer.toString(MINOR) + '.'
|
||||
+ Integer.toString(PATCH)
|
||||
+ ((!PRERELEASE.isEmpty()) ? "-" + PRERELEASE : "")
|
||||
+ ((!BUILDMETA.isEmpty()) ? "+" + BUILDMETA : "");
|
||||
public final static String VERSION = "{{version}}";
|
||||
|
||||
/**
|
||||
* Disables the default constructor.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue