Commit Graph

8 Commits (ab4ec6792515559bd7190d26d66f9cfc5f8edf1a)

Author SHA1 Message Date
sudo pacman -Syu ab4ec67925
refactor: better changelog parser and generator (#11)
* refactor(changelog): remove old, new prefix

* refactor: using new changelog func in cli

* refactor: replace markdown.Generate to GenerateText

* feat: move --verbose flag for generate command

* fix: diff new changelog with old changelog

* chore(markdown): remove unused GenerateLines

Co-authored-by: Tran Hau <ngtranhau@gmail.com>
2021-04-14 17:06:48 +07:00
sudo pacman -Syu b98c62c46f
feat: support filter commit scope (#5)
* feat: add scope flag

* refactor: use scopes as map to quickly check

* feat: add scope to generate commits

* feat(convention): add scope to commit

* refactor: remove obsolete commit GetType

* refactor(convention): combie UpdateType and NewCommit

* feat(changelog): skip commit outside scopes

* feat(convention): remove () in scope

* feat(changelog): support filter scope

Co-authored-by: Tran Hau <ngtranhau@gmail.com>
2021-03-22 12:44:54 +07:00
Tran Hau afcee321fa test(changelog): unit test for misc type 2021-01-12 01:33:32 +07:00
hau 562557dbcd test(changelog): more test for generate changelog 2020-12-17 18:02:12 +07:00
hau 98eb8cc928 test(changelog): unit test for changelog with markdown 2020-11-29 20:08:51 +07:00
hau 25ead5004d feat(changelog): use newly markdown parser and generate 2020-11-29 20:08:47 +07:00
hau 063680ab31 feat: remove scope and description in conventional commit 2020-11-10 17:07:34 +07:00
hau e6ecf05dd8 feat: add markdown generator to generate markdown lines 2020-11-10 17:04:13 +07:00