Hex Core JS
    Preparing search index...

    Function increment

    • Returns an incremented version based on the given version. The update version argument should indicate a single version part to increment (e.g. 1.0.0, 0.1.0 or 0.0.1), but the pre-release part may optionally be included as well (e.g. for an alpha release of the next major version, use 1.0.0-alpha, e.g. for the beta release after and alpha, use 0.0.0-beta).

      Parameters

      • version: SemVer

        The version to increment.

      • update: SemVer

        The update to apply.

      Returns SemVer