I want to provide a git tag to the TeamCity server to build it.
I pass the tag (i.e. release_1.1
) as a parameter to the job. So inside the job the tag is available as %tag%
, but under the Version Control Settings
I don't see any way to use this parameter so the server can checkout this tag.
Is there any way this parameter can be used in the settings to checkout the tag?
For all your VCS roots for this build configuration click Edit and then:
Then you'll be able to choose a tag when you press the '...' button beside run.