FAKE - F# Make - A DSL for build tasks and more FAKE
6.1.3

Lookig for older versions of the documentation, pre FAKE v6? See 

v5.fake.build

Version Module

Contains types and tasks to interact with NuGet versions

Types

Type Description

NuGetSearchItemResult

Holds data for search result of a NuGet package

NuGetSearchResponse

The response type of NuGet search

NuGetSearchResult

Holds list of results of a NuGet search

NuGetVersionArg

Arguments for the next NuGet version number computing

NuGetVersionIncrement

NuGet version incrementer

Functions and values

Function or value Description

IncMajor v

Full Usage: IncMajor v

Parameters:
    v : SemVerInfo - The SemVer version to increment its major component

Returns: SemVerInfo

Increment major version

v : SemVerInfo

The SemVer version to increment its major component

Returns: SemVerInfo

IncMinor v

Full Usage: IncMinor v

Parameters:
    v : SemVerInfo - The SemVer version to increment its minor component

Returns: SemVerInfo

Increment minor version

v : SemVerInfo

The SemVer version to increment its minor component

Returns: SemVerInfo

IncPatch v

Full Usage: IncPatch v

Parameters:
    v : SemVerInfo - The SemVer version to increment its patch component

Returns: SemVerInfo

Increment patch version

v : SemVerInfo

The SemVer version to increment its patch component

Returns: SemVerInfo

getLastNuGetVersion server packageName

Full Usage: getLastNuGetVersion server packageName

Parameters:
    server : string - NuGet server
    packageName : string - NuGet package name

Returns: SemVerInfo option

Retrieve current NuGet version number

server : string

NuGet server

packageName : string

NuGet package name

Returns: SemVerInfo option

nextVersion f

Full Usage: nextVersion f

Parameters:
Returns: string

Compute next NuGet version number

f : NuGetVersionArg -> NuGetVersionArg

Function to override Nuget version parameters

Returns: string