title: Azure DevOps how to get custom build number format to YAML build pipelines?
body: <p>I have a build number format <code>"$(BuildDefinitionName)-$(Rev:.r)"</code> which I can put into the visual designer options and it works great. </p>
  
  <p>However, now I would like to start to use new YAML build pipelines but I cannot figure out how I could put that custom build number format in use with the "replace token" task.</p>