Berkay Kirmizioglu
Berkay Kirmizioglu

Reputation: 1185

Tag Release Version TFS

I am trying to tag a release version on TFS like a feature that GIT have.

For example my release version 1.2.0 and I just want to tag something like;

git tag <tagname>

Are there any feature in TFS ? If there isn't how can I solve this ?

Thank you

Upvotes: 2

Views: 3168

Answers (2)

PatrickLu-MSFT
PatrickLu-MSFT

Reputation: 51093

You could add a command line task in your release definition and just use git command git tag -a vx.x $(Build.SourceVersion) -m "xxx" to add a tag, check the screenshot below:

enter image description here

Upvotes: 2

Lennart
Lennart

Reputation: 10333

There's the tf label command.

E.g.

tf label src rel_1.2.0

adds a label to the workspace folder src.

Upvotes: 3

Related Questions