TeamCity is not retrieving tags

I am collecting GitHub requests in TeamCity. I am setting the branch spec in git root VCS to +:refs/(pull/*)/head

. I am checking sources on an agent.

With this setup I can see TeamCity is not fetching tags - the .git / refs / tags folder is empty.

Why is this?

+3


source to share


1 answer


There is a small checkbox in the vcs settings that says "use tags as branches" (the exact wording may vary from version to version). Check this box.



Also, you want to check for pull requests that are different from tags. Last I checked, github didn't have a facility where you can check for pull requests. Please double check this aspect

+1


source







All Articles