GitVersioningAliases.

GitVersioningCloud(ICakeContext, string, GitVersioningCloudSettings) Method

Summary

Adds versioning information to the current build environment's variables.

Syntax

public static void GitVersioningCloud(this ICakeContext cakeContext, string projectDirectory = ".", GitVersioningCloudSettings settings = null)

Remarks

Example:

Task("SetBuildVersion")
                .Does(() =>
            {
                GitVersioningCloud()
            });

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
cakeContext ICakeContext The context.
projectDirectory string Directory to start the search for version.json.
settings GitVersioningCloudSettings The settings to use for updating variables.

Return Value

Type Description
void