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

GitVersionHelper

Containts helper function for GitVersion - a tool to help you achieve Semantic Versioning on your project.

To install GitVersion.exe on Windows, start PowerShell as Administrator and run choco install gitversion.portable -s https://chocolatey.org/api/v2" For Mac and Unix, install the NuGet version.

Nested types and modules

TypeDescription
GitVersionProperties
GitversionParams

Functions and values

Function or valueDescription
GitVersion(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: 
 GitVersion id // Use Defaults
 GitVersion (fun p -> { p with ToolPath = currentDirectory @@ "tools" }
val id : x:'T -> 'T
GitversionDefaults
Signature: GitversionParams