Skip to main content

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

ParameterTypeDescription
bumpTypeBumpTypeOverwrite bump type in version-policy.json with the provided value.
identifierstringPrerelease identifier if bump type is prerelease.
Returns:

void