From 54deca73d321e0a86dd54b431d1ff1053d6216ab Mon Sep 17 00:00:00 2001 From: Saugat Pachhai Date: Wed, 26 Aug 2020 15:50:46 +0000 Subject: [PATCH] modify release drafter template (#4474) With this change, release-drafter will be able to categorically write/create changelogs based on the labels. --- .github/release-drafter.yml | 47 +++++++++++++++++++++++++++++++++++-- 1 file changed, 45 insertions(+), 2 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index abf195c69..24872a161 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,5 +1,48 @@ # Config for https://github.com/apps/release-drafter -branches: - - master +name-template: "$RESOLVED_VERSION 🦉 " +tag-template: "$RESOLVED_VERSION" +categories: + - title: "🚀 New Features and Enhancements " + labels: + - "feature" + - "enhancement" + - title: "💣 Breaking Changes " + labels: + - "breaking-change" + - title: "🏇 Optimizations " + labels: + - "optimize" + - "performance" + - title: "🐛 Bug Fixes " + labels: + - "bugfix" + - "bug" + - title: "🔨 Maintenance " + labels: + - "maintenance" + - "refactoring" + - "chore" + - "build" + - "ci" +change-template: "- $TITLE (#$NUMBER) @$AUTHOR" +version-resolver: + major: + labels: + - "major" + minor: + labels: + - "minor" + patch: + labels: + - "patch" + default: patch +exclude-labels: + - "skip-changelog" template: | + > Refer to https://dvc.org/doc/install for installation instructions. + + ## Changes + $CHANGES + + Thanks again to $CONTRIBUTORS for the contributions! 🎉