go-kratos / kratos

Your ultimate Go microservices framework for the cloud-native era.
https://go-kratos.dev
MIT License
23.43k stars 4.01k forks source link

feat: create build Group in changelog generate. #3448

Closed mo3et closed 1 month ago

mo3et commented 1 month ago

Description (what this PR does / why we need it):

leagy changelog is lose Build Group.

before effect:

image

After effect:

image

Which issue(s) this PR fixes (resolves / be part of):

Other special notes for the reviewers:

shenqidebaozi commented 1 month ago

It looks similar to deps. Should it be integrated

mo3et commented 1 month ago

Build is similar to deps and is typically used for modifying build scripts or making changes to CI/CD workflows.

Changes in dependencies also fall under this category, but I consider dependencies to be significant enough to warrant a separate category.

shenqidebaozi commented 1 month ago

This pull request includes changes to the ParseCommitsInfo function in cmd/kratos/internal/change/get.go to add support for categorizing "build" commits. The most important changes include adding "build" to the list of recognized commit prefixes and updating the output format to include a section for builds.

Changes to commit categorization:

Changes to output format: