IncrementVersionMajor (open)

Increments the major version of a semantic version string (resets minor version and patch level)

Syntax

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

STRING FUNCTION IncrementVersionMajor(STRING version)

Parameters

STRING version

Semantic version to increment

Return value

STRING

Incremented semantic version