Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

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