The version is now calculated internally.
This commit is contained in:
parent
909b03e861
commit
6455662d23
10 changed files with 60 additions and 198 deletions
|
@ -26,11 +26,6 @@ object {{className}} {
|
|||
val PRERELEASE = "{{preRelease}}"
|
||||
@JvmField
|
||||
val BUILDMETA = "{{buildMeta}}"
|
||||
|
||||
/**
|
||||
* The full semantic version string.
|
||||
*/
|
||||
@JvmField
|
||||
val VERSION = ("$MAJOR.$MINOR.$PATCH" + if (PRERELEASE.isNotEmpty()) "-$PRERELEASE" else ""
|
||||
+ if (BUILDMETA.isNotEmpty()) "+$BUILDMETA" else "")
|
||||
val VERSION = "{{version}}"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue