GitAliases.

GitTag(ICakeContext, DirectoryPath, string, string) Method

Summary

Applys tagName to repository.
Assembly
Cake.Git.dll
Namespace
Cake.Git
Containing Type
GitAliases

Syntax

public static void GitTag(this ICakeContext context, DirectoryPath repositoryDirectoryPath, string tagName, string objectish)

Examples

GitTag("c:/temp/cake", "tag name", "objectish");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
repositoryDirectoryPath DirectoryPath Path to repository.
tagName string The tag name.
objectish string The revparse spec for the target object.

Return Value

Type Description
void