Skip to content

Commit

Permalink
Merge pull request #45 from jamebal/chore
Browse files Browse the repository at this point in the history
chore: update release
  • Loading branch information
jamebal authored May 17, 2024
2 parents d1ad9ff + d1f7c73 commit 55422eb
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 79 deletions.
21 changes: 21 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# .github/release-drafter.yml
name-template: 'v$NEXT_PATCH_VERSION 🌟'
tag-template: 'v$NEXT_PATCH_VERSION'
categories:
- title: '新功能 ✨'
labels:
- 'feat'
- title: '修复 🐛'
labels:
- 'fix'
- title: '优化 🎨'
labels:
- 'perf'
change-template: '- $TITLE (#$NUMBER) @${{PRAUTHOR}}'
no-changes-template: '- No changes'
replacers:
- search: '(.*)'
replace: 'Updated: $1'
template: |
## Changes
$CHANGES
20 changes: 20 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# .github/workflows/release-drafter.yml
name: Release Drafter

on:
push:
branches:
- release
pull_request:
types: [closed]

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: release-drafter/release-drafter@v5
with:
config-name: release-drafter.yml
env:
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}
79 changes: 0 additions & 79 deletions .github/workflows/release.yml

This file was deleted.

0 comments on commit 55422eb

Please sign in to comment.