NpmBumpVersionAliases.

NpmBumpVersion(ICakeContext, NpmBumpVersionSettings) Method

Summary

Bump the version of the package using the specified settings.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm
Containing Type
NpmBumpVersionAliases

Syntax

public static void NpmBumpVersion(this ICakeContext context, NpmBumpVersionSettings settings)

Examples

var settings = new NpmBumpVersionSettings();
    settings.Version = "major";
    NpmBumpVersion(settings);

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
settings NpmBumpVersionSettings The settings.

Return Value

Type Description
void