buildVersionString

Replaces the following expression and lowers compilation memory by avoiding use of compile-time format.

enum version_ = "%d.%d.%d%s%s"
    .format(
        KamelosoSemVer.major,
        KamelosoSemVer.minor,
        KamelosoSemVer.patch,
        KamelosoSemVerPrerelease.length ? "-" : string.init,
        KamelosoSemVerPrerelease);
private
buildVersionString
()

Return Value

Type: auto

The program version as a string in the format of {MAJOR}.{MINOR}.{PATCH}{-PRERELEASE} (eg. 3.2.0-alpha.1). {-PRERELEASE} is optional.