Skip to content

Commit

Permalink
Add Release Drafter (#60)
Browse files Browse the repository at this point in the history
* Add Release Drafter
* rename file
  • Loading branch information
duhow authored Jan 19, 2024
1 parent 351eb2c commit 561bedf
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name-template: "Xiao Ai Patched v$NEXT_PATCH_VERSION"
tag-template: "$NEXT_PATCH_VERSION"
version-template: "$MAJOR.$MINOR.$PATCH"
change-template: "* #$NUMBER - $TITLE"
categories:
- title: 'Packages'
labels:
- 'packages'
- title: 'Speaker patches'
labels:
- 'LX01'
- 'LX06'
- 'L09A'
- 'L09B'
- 'S12'
- title: 'Features'
labels:
- 'feature'
- 'research'
- 'enhancement'
- title: 'Bugs killed'
labels:
- 'fix'
- 'bugfix'
- 'bug'

template: |
## Changelog
$CHANGES
22 changes: 22 additions & 0 deletions .github/workflows/release-drafter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release Drafter

on:
push:
branches:
- master
pull_request:
types: [opened, reopened, synchronize]

permissions:
contents: read

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

0 comments on commit 561bedf

Please sign in to comment.