Skip to content

Commit acf7dc8

Browse files
authored
Add release drafter (#74)
1 parent 44434bc commit acf7dc8

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

.github/release-drafter.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name-template: 'v$NEXT_PATCH_VERSION'
2+
tag-template: '$NEXT_PATCH_VERSION'
3+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
4+
branches:
5+
- 'master'
6+
categories:
7+
- title: '🐛 Bug Fixes'
8+
labels:
9+
- 'bug'
10+
- title: '🧰 Maintenance'
11+
labels:
12+
- 'chore'
13+
- 'dependencies'
14+
- 'infra'
15+
16+
template: |
17+
## Changes
18+
19+
$CHANGES
20+
21+
## Compare
22+
23+
https://github.com/heavenshell/ts-react-boilerplate/compare/$PREVIOUS_TAG...$NEXT_PATCH_VERSION
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Release Management
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
update_draft_release:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: toolmantim/[email protected]
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)