NAnt SDK Documentation - v0.92

TagTask.ActOnTag Property

Indicates the repository Tag that is acted on for the tag command. Note if MoveIfExists is true then the tag specified is moved to the revision of the file on the HEAD of the branch specified.

[Visual Basic]
<StringValidator(AllowEmpty:=False, Expression:="^[A-Za-z0-9][A-Za-z0-9._\-]*$", ExpressionErrorMessage:="null"), _  TaskAttribute(Required:=False, Name:="act-on-tag", ExpandProperties:=True, ProcessXml:=True)>
Public Property ActOnTag As String
[C#]
[StringValidator(AllowEmpty=False, Expression="^[A-Za-z0-9][A-Za-z0-9._\-]*$", ExpressionErrorMessage="null")]
[TaskAttribute(Required=False, Name="act-on-tag", ExpandProperties=True, ProcessXml=True)]
public string ActOnTag {get; set;}

Property Value

The tag (or more likely) branch that should be used to apply the new tag.

See Also

TagTask Class | NAnt.SourceControl.Tasks Namespace