title: How to build different configs in Azure DevOps release pipeline?
body: <p>I currenly have an Azure DevOps release pipeline containing Test, Acceptance and Production stage, that are triggered in that order. The Test is triggered when there is a new build available to deploy.</p>
  
  <p>The problem I have with this is that all stages currently deploy the exact same artifact. But this is wrong, since they are deploying to different environments that need to have their own version of the Web.config.</p>
  
  <p>How do I change my setup in such a way that all environments get the right package? Should I change my build setup in such a way that it builds for multiple different configs or should I have separate builds for each environment? And how do I select what artifact each stage of the release pipeline should deploy?</p>
  
  <p>This is what my release pipeline looks like now: <a href="https://i.stack.imgur.com/OinC5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OinC5.png" alt="enter image description here"></a></p>