NpmBumpVersionAliases.

NpmBumpVersion(ICakeContext, Action<NpmBumpVersionSettings>) Method

Summary

Bump the version of the package using the settings returned by a configurator.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm
Containing Type
NpmBumpVersionAliases

Syntax

public static void NpmBumpVersion(this ICakeContext context, Action<NpmBumpVersionSettings> configurator)

Examples

NpmBumpVersion(settings => 
        settings.Version("major"));

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
configurator Action<NpmBumpVersionSettings> The settings configurator.

Return Value

Type Description
void