Home > @microsoft/rush-lib > VersionPolicyConfiguration > update
VersionPolicyConfiguration.update() 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.
Updates the version directly for the specified version policy
Signature:
update(versionPolicyName: string, newVersion: string): void;
Parameters
Parameter | Type | Description |
---|---|---|
versionPolicyName | string | version policy name |
newVersion | string | new version |
Returns:
void