Hi
I'm trying to get my build to trigger only when i create a Tag in Mercurial. The way im trying to do this is by creating an additional Build Config (Tag Conf) for my project where I set the VCS build trigger to:
+:/.hgtags (Trigger only when tags are updated)
-:. (Do not trigger on any other files)
Whenever i push a changeset (without a Tag) in the overview my build conf (Tag Conf) says "X Pending", i suspect this is the changesets. And when I create a Tag in Mercurial, a build i is triggered and the X Pending goes away. Then all there is left for me todo is to update build/rev numbers in AssemblyInfo (somehow) and deploy the Artifacts(somehow).
Question 1: Is this the correct way to do this or are there another/better way to do this? (Im using sln2010 runner + NUnit + Mercurial)
Question 2: Is there a way to get the Tag name out of the Tag so that it can be used for naming the artifacts for example?
Kind Regards