Skip to content

Commit

Permalink
ci: add missing release drafter
Browse files Browse the repository at this point in the history
  • Loading branch information
guangie88 committed Apr 3, 2020
1 parent 23e6ad2 commit af91bdd
Showing 1 changed file with 128 additions and 0 deletions.
128 changes: 128 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
name-template: 'v$NEXT_PATCH_VERSION' # defaults to patch version
tag-template: 'v$NEXT_PATCH_VERSION'

branches:
- master

categories:
- title: 💥 Breaking Changes
label: 'BREAKING CHANGE'

- title: ✨ Features
label: 'feat'

- title: 🐛 Bug Fixes
label: 'fix'

- title: 🚀 Improvements
label: 'perf'

- title: 🔧 Code Improvements
label: 'refactor'

- title: 📝 Docs Improvements
label: 'docs'

- title: 🚧 Maintenance
label: 'chore'

- title: 👷 CI/CD
label: 'ci'

- title: 🔩 Build
label: 'build'

- title: 💯 Tests
label: 'test'

change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
template: |
## Changes
$CHANGES
replacers:
# e.g. chore: change xxx -> change xxx
- search: '/(?:feat:|fix:|perf:|docs:|refactor:|chore:|ci:|build:|test:)\s*/g'
replace: ''
# e.g. feat(web): add xxx -> web: add xxx
- search: '/(?:feat|fix|perf|docs|refactor|chore|ci|build|test)\((\w+)\):\s*/g'
replace: '$1: '

# For capitalizing the first letter in every bullet point
- search: '/^(\W\s+)a/gm'
replace: '$1A'

- search: '/^(\W\s+)b/gm'
replace: '$1B'

- search: '/^(\W\s+)c/gm'
replace: '$1C'

- search: '/^(\W\s+)d/gm'
replace: '$1D'

- search: '/^(\W\s+)e/gm'
replace: '$1E'

- search: '/^(\W\s+)f/gm'
replace: '$1F'

- search: '/^(\W\s+)g/gm'
replace: '$1G'

- search: '/^(\W\s+)h/gm'
replace: '$1H'

- search: '/^(\W\s+)i/gm'
replace: '$1I'

- search: '/^(\W\s+)j/gm'
replace: '$1J'

- search: '/^(\W\s+)k/gm'
replace: '$1K'

- search: '/^(\W\s+)l/gm'
replace: '$1L'

- search: '/^(\W\s+)m/gm'
replace: '$1M'

- search: '/^(\W\s+)n/gm'
replace: '$1N'

- search: '/^(\W\s+)o/gm'
replace: '$1O'

- search: '/^(\W\s+)p/gm'
replace: '$1P'

- search: '/^(\W\s+)q/gm'
replace: '$1Q'

- search: '/^(\W\s+)r/gm'
replace: '$1R'

- search: '/^(\W\s+)s/gm'
replace: '$1S'

- search: '/^(\W\s+)t/gm'
replace: '$1T'

- search: '/^(\W\s+)u/gm'
replace: '$1U'

- search: '/^(\W\s+)v/gm'
replace: '$1V'

- search: '/^(\W\s+)w/gm'
replace: '$1W'

- search: '/^(\W\s+)x/gm'
replace: '$1X'

- search: '/^(\W\s+)y/gm'
replace: '$1Y'

- search: '/^(\W\s+)z/gm'
replace: '$1Z'

0 comments on commit af91bdd

Please sign in to comment.