Skip to content

Commit

Permalink
Merge pull request #21 from ks6088ts/feature/issue-19_setup-release-d…
Browse files Browse the repository at this point in the history
…rafter

set up release drafter
  • Loading branch information
ks6088ts authored Oct 23, 2022
2 parents dfc38dc + 6ae1a32 commit 2a3ab5f
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name-template: "v$RESOLVED_VERSION"
tag-template: "v$RESOLVED_VERSION"
template: |
## Changes
$CHANGES
categories:
- title: "Features"
labels:
- 'feature'
- 'enhancement'
- title: "Breaking Changes"
labels:
- "breaking change"
- title: "Bug Fixes"
labels:
- "fix"
- "bugfix"
- "bug"
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
change-title-escapes: '\<*_&'
version-resolver:
major:
labels:
- "major"
minor:
labels:
- "minor"
patch:
labels:
- "patch"
default: patch
14 changes: 14 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: release-drafter

on:
push:
tags:
- "v*.*.*"

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 2a3ab5f

Please sign in to comment.