Skip to content

Instantly share code, notes, and snippets.

@DaveRuijter
Created October 3, 2021 20:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DaveRuijter/48bc085f2936aa4f9e7cbc0f65328102 to your computer and use it in GitHub Desktop.
Save DaveRuijter/48bc085f2936aa4f9e7cbc0f65328102 to your computer and use it in GitHub Desktop.
Template file for automatic release notes

🚀 Release v{{buildDetails.buildNumber}}

Associated Pull Requests ({{pullRequests.length}})

{{#forEach pullRequests}}

  • Pull Request [#{{this.pullRequestId}} {{this.title}}]({{replace (replace this.url "_apis/git/repositories" "_git") "pullRequests" "pullRequest"}}) {{/forEach}}

Associated Azure Board Items ({{workItems.length}})

{{#forEach this.workItems}}

  • Item [#{{this.id}} {{lookup this.fields 'System.Title'}}]({{replace this.url "_apis/wit/workItems" "_workitems/edit"}}) {{/forEach}}

Assets

  • [Release v{{buildDetails.buildNumber}} as ZIP]({{replace buildDetails.project.url "_apis/projects/" ""}}/_apis/git/repositories/{{buildDetails.repository.id}}/items?path=/&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=1&versionDescriptor%5Bversion%5D=v{{buildDetails.buildNumber}}&resolveLfs=true&%24format=zip&api-version=5.0&download=true)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment