This is part of the Fake.DotNet.NuGet module.

Version

Nested types and modules

TypeDescription
NuGetSearchItemResult
NuGetSearchResponse
NuGetSearchResult
NuGetVersionArg

Arguments for the next NuGet version number computing

NuGetVersionIncrement

Functions and values

Function or valueDescription
getLastNuGetVersion server packageName
Signature: server:string -> packageName:string -> SemVerInfo option

Retrieve current NuGet version number

IncMajor(v)
Signature: v:SemVerInfo -> SemVerInfo

Increment major version

IncMinor(v)
Signature: v:SemVerInfo -> SemVerInfo

Increment minor version

IncPatch(v)
Signature: v:SemVerInfo -> SemVerInfo

Increment patch version

nextVersion(f)
Signature: f:(NuGetVersionArg -> NuGetVersionArg) -> string

Compute next NuGet version number