chore: refine Changelog Generation Process

- Change the changelog generation from using git to using GitHub
- Add custom changelog sections for build process and documentation updates with specific regex patterns and order

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2024-04-19 10:27:48 +08:00
parent 046c21368d
commit 5401378058
No known key found for this signature in database
1 changed files with 7 additions and 1 deletions

View File

@ -99,7 +99,7 @@ release:
- glob: ./**.xz
changelog:
use: git
use: github
groups:
- title: Features
regexp: "^.*feat[(\\w)]*:+.*$"
@ -113,5 +113,11 @@ changelog:
- title: "Refactor"
regexp: "^.*refactor[(\\w)]*:+.*$"
order: 3
- title: "Build process updates"
regexp: ^.*?(build|ci)(\(.+\))??!?:.+$
order: 4
- title: "Documentation updates"
regexp: ^.*?docs?(\(.+\))??!?:.+$
order: 4
- title: Others
order: 999