referencing the vcs tag name from within ant ?

I wish to create an artifact whose name contains the tag name I have used for the source code in the build. I am configuring the tag name in the  how can I reference the tag name in the 'Checkout by Tag' field in the 'Edit VCS Root' page however I can't seem to reference this as a build property within ant. Am I missing something or why can it not be provided as a property to the build ? If this can't be done it means providing the tag name manually a second time as a custom build property, which increases the likelyhood of errors through typos.

Thanks Tom.

1 comment
Comment actions Permalink


Seems already implemented in TeamCity 5.0 (currently in EAP):

The property name is VCS control-specific.


Please sign in to leave a comment.