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

VersionPolicyConfiguration.bump() method

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

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


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


Parameter Type Description
versionPolicyName string version policy name
bumpType BumpType bump type to override what policy has defined.
identifier string prerelease identifier to override what policy has defined.
shouldCommit boolean should save to disk