tag:help.appveyor.com,2012-11-13:/discussions/questions/29164-which-build-configuration-does-a-tag-triggered-build-chooseAppVeyor: Discussion 2019-01-06T21:00:21Ztag:help.appveyor.com,2012-11-13:Comment/464270402018-11-02T21:49:55Z2018-11-02T21:49:55ZWhich build configuration does a tag triggered build choose?<div><p>You can find an explanation for this behaviour <a href="https://www.appveyor.com/docs/branches/#build-on-tags-github-gitlab-and-bitbucket-only">here</a> in the docs.</p>
<p>A quote from that section...</p>
<blockquote>
<p>However, please note that in case of annotated tag, branch and appveyor_repo_tag are mutually exclusive. This is because, for webhook created as a result of annotated tag, there is no practical reliable way to recognize what branch the tag was created from. Therefore with this setting deployment will happen only for master branch:</p>
</blockquote></div>Owen McDonnelltag:help.appveyor.com,2012-11-13:Comment/464270402018-11-03T16:14:43Z2018-11-03T16:14:44ZWhich build configuration does a tag triggered build choose?<div><p>Hi Owen,</p>
<p>I had already read the docs, and I do not believe they answer my question, but please let me know if I'm mistaken. I don't have anything related to tags in my current appveyor.yml, so it's unclear to me how appveyor chooses which build configuration to use when performing a tag triggered build.</p>
<p>Best,<br>
Bobby</p></div>Bobbytag:help.appveyor.com,2012-11-13:Comment/464270402018-11-03T16:16:28Z2018-11-03T16:16:33ZWhich build configuration does a tag triggered build choose?<div><p>To be more specific,the docs say:</p>
<p>"there is no practical reliable way to recognize what branch the tag was created from"</p>
<p>so how does appveyor choose a build configuration to use?</p></div>Bobbytag:help.appveyor.com,2012-11-13:Comment/464270402018-11-06T05:45:53Z2018-11-06T05:45:53ZWhich build configuration does a tag triggered build choose?<div><p>I believe it will build the last commit of the branch from which the tag was pushed. Although there will not be a way to choose which configuration to choose so the default (fallback) will be chosen.</p></div>Owen McDonnell