This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.GitVersioning.
Summary
Adds versioning information to the current build environment's variables.
- Assembly
- Cake
.GitVersioning .dll - Namespace
- Cake
.GitVersioning - Containing Type
- GitVersioningAliases
Syntax
public static void GitVersioningCloud(this ICakeContext cakeContext, string projectDirectory = ".", GitVersioningCloudSettings settings = null)
Remarks
Example:
Task("SetBuildVersion")
.Does(() =>
{
GitVersioningCloud()
});
Attributes
Type | Description |
---|---|
Cake |
Parameters
Name | Type | Description |
---|---|---|
cakeContext | ICakeContext | The context. |
projectDirectory | string | Directory to start the search for version.json. |
settings | Git |
The settings to use for updating variables. |
Return Value
Type | Description |
---|---|
void |