Skip to content

Commit f6ae56f

Browse files
authoredMay 20, 2020
chore: add release-drafter (#35)
1 parent 4d9063e commit f6ae56f

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed
 

‎.github/release-drafter.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name-template: 'v$NEXT_PATCH_VERSION'
2+
tag-template: 'v$NEXT_PATCH_VERSION'
3+
categories:
4+
- title: 'Breaking change'
5+
labels:
6+
- 'Breaking Change'
7+
- title: 'Features'
8+
labels:
9+
- 'feature'
10+
- 'enhancement'
11+
- title: 'Fixes'
12+
labels:
13+
- 'bug'
14+
- title: 'Performance'
15+
labels:
16+
- 'performance'
17+
- '#perfmatters'
18+
- title: 'Dependencies'
19+
labels:
20+
- 'dependencies'
21+
- title: 'Refactor'
22+
labels:
23+
- 'refactor'
24+
change-template: '- $TITLE @$AUTHOR [#$NUMBER]'
25+
template: |
26+
## Changes
27+
28+
$CHANGES

‎.github/workflows/release-drafter.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
update_release_draft:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: release-drafter/release-drafter@v5
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)
Please sign in to comment.