Skip to content

Commit

Permalink
Merge pull request #126 from LucienShui/chore/update_release_drafter
Browse files Browse the repository at this point in the history
uupdate release drafter
  • Loading branch information
LucienShui authored Oct 7, 2021
2 parents 71f42b5 + 74f5219 commit a2f075c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
18 changes: 16 additions & 2 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name-template: '$NEXT_PATCH_VERSION'
tag-template: '$NEXT_PATCH_VERSION'
name-template: '$RESOLVED_VERSION'
tag-template: '$RESOLVED_VERSION'
categories:
- title: 'Features'
labels:
Expand All @@ -14,7 +14,21 @@ categories:
labels:
- 'chore'
- 'documentation'
- title: 'Dependencies'
labels:
- 'dependencies'
change-template: '- $TITLE (#$NUMBER) @$AUTHOR'
version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: patch
template: |
# Changes
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ jobs:
name: Draft release
runs-on: ubuntu-latest
steps:
- uses: toolmantim/release-drafter@v5.2.0
- uses: release-drafter/release-drafter@v5
name: Draft
with:
config-name: release-drafter.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a2f075c

Please sign in to comment.