Github Action: Add release-drafter (#54)
This commit is contained in:
parent
55588921f2
commit
6f96ca1e15
2 changed files with 45 additions and 0 deletions
31
.github/release-drafter.yml
vendored
Normal file
31
.github/release-drafter.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
name-template: 'v$RESOLVED_VERSION'
|
||||
tag-template: 'v$RESOLVED_VERSION'
|
||||
template: |
|
||||
I am very excited to announce Toha 'v$RESOLVED_VERSION'. Thanks to $CONTRIBUTORS for their valuable contribution in this release.
|
||||
|
||||
The following things has been changed since last release:
|
||||
$CHANGES
|
||||
categories:
|
||||
- title: 'Breaking Changes'
|
||||
label: 'breaking-change'
|
||||
- title: 'New Features & Enhancements'
|
||||
labels:
|
||||
- 'feature'
|
||||
- 'enhancement'
|
||||
- title: 'Bug Fixes'
|
||||
labels:
|
||||
- 'bug'
|
||||
- 'bug-fix'
|
||||
|
||||
version-resolver:
|
||||
major:
|
||||
labels:
|
||||
- 'breaking'
|
||||
minor:
|
||||
labels:
|
||||
- 'feature'
|
||||
- 'enhancement'
|
||||
patch:
|
||||
labels:
|
||||
- 'bug'
|
||||
- 'bug-fix'
|
14
.github/workflows/draft-release.yml
vendored
Normal file
14
.github/workflows/draft-release.yml
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
name: Release Drafter
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
update_release_draft:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: release-drafter/release-drafter@master
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.ACTION_DEPLOY_KEY }}
|
Loading…
Add table
Add a link
Reference in a new issue