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
| Parameter | Type | Description |
|---|---|---|
| versionPolicyName | string | (Optional) version policy name |
| bumpType | BumpType | (Optional) bump type to override what policy has defined. |
| identifier | string | (Optional) prerelease identifier to override what policy has defined. |
| shouldCommit | boolean | (Optional) should save to disk |
Returns:
void