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

GitVersion

Nested types and modules

TypeDescription
GitVersionProperties
GitversionParams

Functions and values

Function or valueDescription
GitVersion.generateProperties(setParams)
Signature: setParams:(GitversionParams -> GitversionParams) -> GitVersionProperties

Runs GitVersion on a .NET project file.

Parameters

  • setParams - Function used to manipulate the gitversionDefaults value.

Sample

1: 
2: 
 generateProperties id // Use Defaults
 generateProperties (fun p -> { p with ToolPath = "/path/to/directory" }
val id : x:'T -> 'T
GitVersion.gitversionDefaults
Signature: GitversionParams