Use the GitHub auto-generated changelogs

This commit is contained in:
Mimi 2022-08-31 10:28:31 +08:00
parent 8876fe6238
commit fc5ae58887
3 changed files with 38 additions and 58 deletions

View File

@ -1,42 +0,0 @@
# Configuration for Release Drafter - https://github.com/toolmantim/release-drafter
name-template: 'v$NEXT_MINOR_VERSION'
tag-template: 'v$NEXT_MINOR_VERSION'
categories:
- title: '💥 Breaking Changes'
label: '💥 Breaking Change'
- title: '🌟 New Features'
label: '🌟 New Feature'
- title: '⭐ Features'
label: '⭐ Feature'
- title: '🐞 Bug Fixes'
label: '🐞 Bug Fix'
- title: '🛠 Improvements'
label: '🛠 Improvement'
- title: '🌀 External Changes'
labels:
- '📦 Dependencies'
- 'Actions'
- title: '📖 Documentation'
label: '📖 Docs'
- title: '🌍 Localization'
label: '🌍 i18n'
change-template: '- $TITLE (#$NUMBER)'
no-changes-template: '- No changes'
template: |
$CHANGES
***
For full changes, see the [comparison between $PREVIOUS_TAG and v$NEXT_MINOR_VERSION](https://github.com/next-theme/hexo-theme-next/compare/$PREVIOUS_TAG...v$NEXT_MINOR_VERSION)
exclude-labels:
- 'Skip Release'

38
.github/release.yml vendored Normal file
View File

@ -0,0 +1,38 @@
changelog:
categories:
- title: '💥 Breaking Changes'
labels:
- '💥 Breaking Change'
- title: '🌟 New Features'
labels:
- '🌟 New Feature'
- title: '⭐ Features'
labels:
- '⭐ Feature'
- title: '🐞 Bug Fixes'
labels:
- '🐞 Bug Fix'
- title: '🛠 Improvements'
labels:
- '🛠 Improvement'
- title: '🌀 External Changes'
labels:
- '📦 Dependencies'
- 'Actions'
- title: '📖 Documentation'
labels:
- '📖 Docs'
- title: '🌍 Localization'
labels:
- '🌍 i18n'
exclude:
labels:
- 'Skip Release'

View File

@ -1,16 +0,0 @@
name: Release Drafter
on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- master
jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}