EncodeSemanticVersion (open)

Encode a semantic version string from its components

Syntax

LOADLIB "wh::util/semver.whlib";

STRING FUNCTION EncodeSemanticVersion(RECORD version)

Parameters

RECORD version

Version info

STRING build

Build id

INTEGER major

Major version

INTEGER minor

Minor version

INTEGER patch

Patch level

STRING prerelease

Prerelease version

Return value

STRING

Semantic version string