Home > @microsoft/rush-lib > VersionPolicyConfiguration > update
VersionPolicyConfiguration.update() method
Updates the version directly for the specified version policy
Signature:
update(versionPolicyName: string, newVersion: string, shouldCommit?: boolean): void;
Parameters
Parameter | Type | Description |
---|---|---|
versionPolicyName | string | version policy name |
newVersion | string | new version |
shouldCommit | boolean | (Optional) |
Returns:
void