Note: This API documentation is for FAKE version 4. The migration API documentation can be found here. The API documentation for the new fake 5 modules can be found here

NuGetVersion

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