[Feature Request] Add a callback like formatMessageCB for every step #209
SuiKaSan
announced in
Announcements
Replies: 1 comment
-
e.g ? build(version): release xxx version Each step provides a callback Fn, Emmm I will not add similar configurations for special requirements to avoid increasing complexity.
https://cz-git.qbb.sh/config/engineer#scopeoverrides
Lines 44 to 45 in 328fb2e |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
💭 Describe the feature
Add a callback like formatMessageCB for every step.
Like if I selected a scope, then triggers a callback to customize the type or the following subject.
In my case, I need to write a commit meesage for every version release with a scope called version.
So I have to type "release version xxx" every time I wirte a version related commit.
It's annoying but I can't just left it empty.
defaultSubject will fix the problem but everyone write a commit would see the default subject, that's not good.
💡 Proposed Solution
A callback to every step would be nice, so the subject can be altered.
Like if I know the coming scope is version, then change the defaultSubject to "release version ", if not, then leave it empty.
It's just a feature nice to have.
And thank you very much for developing this library, it's crazy good!
Beta Was this translation helpful? Give feedback.
All reactions