blob: f6010e0a3e6c27a2371e6749a3979f98ee0edb71 [file] [log] [blame]
# See https://github.com/release-drafter/release-drafter#configuration-options
name-template: 'v$RESOLVED_VERSION'
tag-template: 'rel/v$RESOLVED_VERSION'
# Filter previous releases to consider only those with the target matching the current branch
filter-by-commitish: true
tag-prefix: REL
exclude-labels:
- 'skip-changelog'
categories:
- title: '🚀 Features'
labels:
- 'feature'
- 'enhancement'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- 'defect'
- title: '📝 Documentation'
labels:
- 'documentation'
- title: '🧰 Maintenance'
label: 'chore'
- title: '⬆️ Dependencies'
collapse-after: 8
labels:
- 'dependencies'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: patch
template: |
## Changes
$CHANGES
# See https://github.com/release-drafter/release-drafter#autolabeler
# This is more like a reference, since auto-labelling PRs seems to require too much privileges
autolabeler:
- label: 'dependencies'
files:
- 'gradle-wrapper.properties'
title:
- '/^fix\(deps\)/i'
- '/^chore:\s*bump/i'
- label: 'chore'
files:
- '*gradle*'
branch:
- '/docs{0,1}\/.+/'
title:
- '/^chore/i'
- label: 'documentation'
files:
- '*.md'
- 'docs/**'
- label: 'bug'
branch:
- '/fix\/.+/'
title:
- '/^fix/i'
- label: 'enhancement'
branch:
- '/feature\/.+/'
title:
- '/^feat/i'