diff --git a/src/main/resources/semver-kt.mustache b/src/main/resources/semver-kt.mustache index d54afa8..bc6d68e 100644 --- a/src/main/resources/semver-kt.mustache +++ b/src/main/resources/semver-kt.mustache @@ -34,7 +34,7 @@ object {{className}} { val SEPARATOR = "{{separator}}" /** - * The full version string formatted as [MAJOR][SEPARATOR][MINOR][SEPARATOR][PATCH][[PRERELEASE_PREFIX][PRERELEASE]][[BUILDMETA_PREFIX][BUILDMETA]] + * The full semantic version string. */ @JvmField val VERSION = "$MAJOR$SEPARATOR$MINOR$SEPARATOR$PATCH" + preReleaseWithPrefix() + buildMetaWithPrefix() diff --git a/src/main/resources/semver.mustache b/src/main/resources/semver.mustache index 3baf2b1..48b9a87 100644 --- a/src/main/resources/semver.mustache +++ b/src/main/resources/semver.mustache @@ -24,20 +24,7 @@ public final class {{className}} { public final static String SEPARATOR = "{{separator}}"; /** - * The full version string. - *
- * Formatted as: - *
- * [MAJOR][SEPARATOR][MINOR][SEPARATOR][PATCH][[PRERELEASE_PREFIX][PRERELEASE]][[BUILDMETA_PREFIX][BUILDMETA]]
- *
- * - * For example: - *
1.0.0
1.0.0-beta
1.0.0+20160124144700
1.0.0-alpha+001