GitAliases.

GitTag(ICakeContext, DirectoryPath, string, string, string, string, string) Method

Summary

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

Syntax

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

Examples

GitTag("c:/temp/cake", "tag name", "objectish", "user", "[email protected]", "tag message");

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.
name string Name of committer.
email string Email of committer.
message string Commit message.

Return Value

Type Description
void