Summary
Looks for versionnumber.xml at root of repository.
Updates the xml in this file to correspond with properties set by user and checks in changes.
A label is then created based on properties set.
- Assembly
- NAnt
.Contrib .dll - Namespace
- NAnt
.Contrib .Tasks .StarTeam - Containing Type
- StarTeamAutoLabel
Syntax
protected override void ExecuteTask()
Remarks
Default behavior is to
NAnt.Contrib.Tasks.StarTeam.StarTeamAutoLabel.IncrementBuild
number.
If user sets NAnt.Contrib.Tasks.StarTeam.StarTeamAutoLabel.MajorVersion
, NAnt.Contrib.Tasks.StarTeam.StarTeamAutoLabel.MinorVersion
, or NAnt.Contrib.Tasks.StarTeam.StarTeamAutoLabel.BuildVersion
no incrementing is done
and the exact version set and/or read from versionnumber.xml is used.
The title of the Label is the NAnt.Contrib.Tasks.StarTeam.LabelTask.Label
property concatenated with the version number Major.Minor.Build
Return Value
Type | Description |
---|---|
void |