ActOnTag Property

NAnt SDK Documentation - v0.92 |

# RTagTask.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(Name:="act-on-tag", Required:=False, 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(Name="act-on-tag", Required=False, 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

RTagTask Class | NAnt.SourceControl.Tasks Namespace