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

LockStepVersionPolicy.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 the version of the lockstep policy

Signature:

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

Parameters

Parameter Type Description
bumpType BumpType Overwrite bump type in version-policy.json with the provided value.
identifier string Prerelease identifier if bump type is prerelease.

Returns:

void