From b508f3c626629d9079e117cca6f8e84f33827a70 Mon Sep 17 00:00:00 2001 From: Oleg Nenashev Date: Sun, 18 Aug 2019 20:51:43 +0200 Subject: [PATCH] Add Release Drafter configuration to automate changelogs --- .github/release-drafter.yml | 45 +++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/release-drafter.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..ed89d75 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,45 @@ +# Configuration for Release Drafter: https://github.com/toolmantim/release-drafter +name-template: WinSW v$NEXT_PATCH_VERSION +tag-template: winsw-v$NEXT_PATCH_VERSION +# This repo follows the Semantic Versioning 2.0.0 approach: https://semver.org/ +version-template: $MAJOR.$MINOR.$PATCH + +template: | + + $CHANGES + +# Emoji reference: https://gitmoji.carloscuesta.me/ +categories: + - title: 🚨 Removed + label: removed + - title: ⚠️ Deprecated + label: deprecated + - title: 🚀 New features and improvements + labels: + - enhancement + - new-feature + - title: 🐛 Bug Fixes + label: bug + - title: :package: Packaging changes + label: packaging + - title: 📝 Documentation updates + label: documentation + # Default label used by Dependabot + - title: :arrow_up: Dependency updates + label: dependencies + - title: 👻 Maintenance + labels: + - internal + - build-flow + - title: 🚦 Tests + label: tests +exclude-labels: + - reverted + - skip-changelog + - invalid + +replacers: + - search: '/CVE-(\d{4})-(\d+)/g' + replace: 'https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-$1-$2' + - search: 'WinSW' + replace: 'Windows Service Wrapper'