GitAliases.

GitTag(ICakeContext, DirectoryPath, 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 name, string email, string message)

Examples

GitTag("c:/temp/cake", "tag name", "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.
name string Name of committer.
email string Email of committer.
message string Commit message.

Return Value

Type Description
void