Merge pull request #331 from kohsuke/release-drafter

Add Release Drafter configuration to automate changelogs
pull/332/head v2.3.0
Oleg Nenashev 2019-08-18 21:03:30 +02:00 committed by GitHub
commit b97a3706df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 45 additions and 0 deletions

45
.github/release-drafter.yml vendored Normal file
View File

@ -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: |
<!-- Optional: add a release summary here -->
$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'