RoadmapShopEvents
Skip to main content

Home > @microsoft/rush-lib > VersionPolicyConfiguration > bump

VersionPolicyConfiguration.bump() method

Bumps up versions for the specified version policy or all version policies

Signature:

bump(versionPolicyName?: string, bumpType?: BumpType, identifier?: string, shouldCommit?: boolean): void;

Parameters

ParameterTypeDescription
versionPolicyNamestring(Optional) version policy name
bumpTypeBumpType(Optional) bump type to override what policy has defined.
identifierstring(Optional) prerelease identifier to override what policy has defined.
shouldCommitboolean(Optional) should save to disk

Returns:

void