method VersionUtils.prototype.calculateNewVersion
VersionUtils.prototype.calculateNewVersion(
currentVersion: string,
commits: ConventionalCommit[],
bumpType?: BumpType,
): string

Calculate new version based on commits and bump type

Parameters

currentVersion: string
optional
bumpType: BumpType

Return Type

string

Usage

import { VersionUtils } from ".";