Commit Graph

47 Commits (379cd48435a66ebae81e8e145229fbec51735879)

Author SHA1 Message Date
Tran Hau 3d7da7b4b0 chore(markdown): re-format file 2021-01-20 14:56:21 +07:00
Tran Hau 176e35a16e fix: no newline at end of file 2021-01-12 01:37:11 +07:00
Tran Hau afcee321fa test(changelog): unit test for misc type 2021-01-12 01:33:32 +07:00
Tran Hau 54a97bbaf9 test(convention): unit test for misc type 2021-01-12 01:27:08 +07:00
Tran Hau daf3f0b36d refactor(convention): replace commit parseHeader with updateType 2021-01-12 01:25:06 +07:00
hau 84c73e3eef feat(convention): remove directly access conventional commit 2021-01-05 17:58:59 +07:00
hau d045e1d06a feat(git): stop with begin, end fn 2021-01-05 16:20:32 +07:00
hau c68f833998 chore(git): useless type cast 2021-01-05 16:16:08 +07:00
hau efa0a74305 feat(git): only use git log, remove logIncludeTo 2021-01-05 16:15:31 +07:00
hau 2dd6ffd1eb feat: only use --to to replace --exclude-to, --include-to 2021-01-05 14:16:00 +07:00
hau d3648c41e3 chore(git): better error return 2020-12-23 18:05:36 +07:00
hau 562557dbcd test(changelog): more test for generate changelog 2020-12-17 18:02:12 +07:00
hau 7694e1e1c7 test(changelog): re-gen golden data for correct header 2020-12-17 17:58:49 +07:00
hau d95f82e3ba fix(changelog): wrong header for fixed type 2020-12-17 17:55:52 +07:00
hau e76289a94d test(convetion): unit test for mixedcase types 2020-12-02 15:48:22 +07:00
hau e915d51338 feat(convention): support mixed-case for type 2020-12-02 15:45:44 +07:00
hau 98eb8cc928 test(changelog): unit test for changelog with markdown 2020-11-29 20:08:51 +07:00
hau 694261892c refactor(changelog): split get version header 2020-11-29 20:08:51 +07:00
hau e643400357 refactor(changelog): remove magic number 2020-11-29 20:08:51 +07:00
hau 7d904261ee refactor: rename markdown.Base -> markdown.Node 2020-11-29 20:08:51 +07:00
hau f31cc23ee2 refactor(markdown): rename parser -> parse 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 c8e5bf3ffc feat(markdown): double newline when generate 2020-11-29 20:06:30 +07:00
hau 848b362683 feat: generate 1 line for markdown 2020-11-29 20:06:30 +07:00
hau b09a0eae9a feat: parse markdown to base syntax guide 2020-11-29 20:06:30 +07:00
hau 2c9a60c42f feat: use testify assert 2020-11-29 20:06:30 +07:00
hau 080796c15c feat: add markdown parser 2020-11-29 20:06:30 +07:00
hau 71630969cd feat(convention): make sure header commit is trimmed space 2020-11-11 10:28:05 +07:00
hau e374d982f0 fix(changelog): correct get lines and skip generate if no new lines 2020-11-11 00:06:04 +07:00
hau c435f22831 fix: empty CHANGELOG title when no new commits 2020-11-10 23:55:56 +07:00
hau def20e9743 docs: add github markdown in comment 2020-11-10 23:41:47 +07:00
hau 3f0d05c741 refactor: remove useless return error in git 2020-11-10 23:39:40 +07:00
hau 688223878d docs: add comment for git methods 2020-11-10 23:36:32 +07:00
hau b06387dff2 feat: add exclude-to, include-to flag 2020-11-10 23:28:58 +07:00
hau f28a891f0b feat: add log include to revision in git 2020-11-10 23:03:28 +07:00
hau b30c90f3e5 feat: only add type of change in CHANGELOG when there is changed 2020-11-10 18:01:43 +07:00
hau 16bf3ab92a feat: add --version flag to generate CHANGELOG.md 2020-11-10 17:56:26 +07:00
hau dc386b27f4 feat: write changelog to path 2020-11-10 17:36:50 +07:00
hau 6a5d3fe235 feat: format commit as markdown item 2020-11-10 17:12:13 +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
hau 758c5173c8 feat: add RawHeader in conventional commit 2020-11-10 15:47:54 +07:00
hau 3ab8e17719 refactor: remove body and footers in convention 2020-11-10 15:39:54 +07:00
hau 818cf7d270 teat: unit test for new conventional commit 2020-11-09 16:29:27 +07:00
hau fc465926e3 feat: add conventional commits 2020-11-09 15:46:42 +07:00
hau 0fe1c6795e feat: remove author and hash commit 2020-11-09 10:46:08 +07:00
hau 5b5d186805 feat: get commits in path between from and to revision 2020-11-07 23:52:09 +07:00