From 68429a8e1d4ecb977b90ea6866bfb6d5a8a07f0a Mon Sep 17 00:00:00 2001 From: Tyler Ohlsen Date: Thu, 16 Jul 2020 16:41:33 -0700 Subject: [PATCH] Automate release notes to unified standard (#191) --- .github/draft-release-notes-config.yml | 51 ++++++++++++++++---------- 1 file changed, 31 insertions(+), 20 deletions(-) diff --git a/.github/draft-release-notes-config.yml b/.github/draft-release-notes-config.yml index b8ad6188..7da6c1dd 100644 --- a/.github/draft-release-notes-config.yml +++ b/.github/draft-release-notes-config.yml @@ -1,35 +1,46 @@ # The overall template of the release notes template: | - Compatible with Elasticsearch (**set version here**) and Open Distro for Elasticsearch (**set version here**). + Compatible with Elasticsearch (**set version here**). $CHANGES + # Setting the formatting and sorting for the release notes body name-template: Version (set version here) -change-template: '- $TITLE (PR #$NUMBER)' +change-template: "* $TITLE (#$NUMBER)" sort-by: merged_at sort-direction: ascending +replacers: + - search: "##" + replace: "###" -# Organizing the tagged PRs into categories +# Organizing the tagged PRs into unified ODFE categories categories: - - title: 'Breaking Changes' + - title: "Breaking changes" + labels: + - "breaking change" + - title: "Features" + labels: + - "feature" + - title: "Enhancements" labels: - - 'breaking change' - - title: 'Major Changes' + - "enhancement" + - title: "Bug Fixes" labels: - - 'feature' - - title: 'Enhancements' + - "bug" + - "bug fix" + - title: "Infrastructure" labels: - - 'enhancement' - - title: 'Bug Fixes' + - "infra" + - "test" + - "dependencies" + - "github actions" + - title: "Documentation" labels: - - 'bug' - - 'bug fix' - - title: 'Infra Changes' + - "documentation" + - title: "Maintenance" labels: - - 'infra' - - 'test' - - 'documentation' - - 'dependencies' - - title: 'Version Upgrades' + - "version upgrade" + - "odfe release" + - title: "Refactoring" labels: - - 'version upgrade' - - 'odfe-release' + - "refactor" + - "code quality"