title: How do I pass artifact or build variables to a release in Azure DevOps?
body: <p>I have a release artifact that is created by a build. I want to distribute the artifact using a release pipeline. Ideally, the build would automatically trigger creating the release. However, I need to supply some variables (which are identical to the ones in the build) to the release. I can enter them when manually triggering the release:
  <a href="https://i.stack.imgur.com/8xylL.png" rel="nofollow noreferrer">manual create release dialog</a></p>
  
  <p>Is there a way to pass the variables automatically, either via the triggering build or via the artifact?</p>