How to update VCS Labeling pattern during run-time?

HI all,

We would like to update the VCS labeling pattern during build run-time
The VCS label is expected to be MASTER_VERSION (%build.vcs.number%) [i.e 5.1.0.a (120)]
The MASTER_VERSION is extracted from header file during the build script

How can the VCS labeling pattern can be update/set during the build maybe with something like ##teamcity[ LabelPattern '5.1.1.a (%build.vcs.number%)' ]?

BR,
Yoram

Please sign in to leave a comment.