Commit Graph

406 Commits (92c2886e8bc1c894088807f4ae5f753e29ef0183)

Author SHA1 Message Date
sudo pacman -Syu 5be650b27a chore: add codecov 2021-08-21 01:02:43 +07:00
sudo pacman -Syu db6667b307 build: update go.mod 2021-08-19 01:01:20 +07:00
sudo pacman -Syu 6aa5cb2e2a chore: bump go 1.17 in github action 2021-08-19 00:53:26 +07:00
sudo pacman -Syu 05135e02f0 build: update go.mod 2021-08-04 18:10:53 +07:00
sudo pacman -Syu bac77e3573 build: update go.mod 2021-07-09 16:47:02 +00:00
sudo pacman -Syu 96946e5569 build: update go.mod 2021-06-23 01:47:03 +07:00
sudo pacman -Syu bd3b774189 chore: add NodeJS to gitignore
I use it to format markdown
2021-06-16 18:17:29 +00:00
sudo pacman -Syu 8ce6555f9d chore(changelog): generate v1.13.0 2021-06-16 18:14:17 +00:00
sudo pacman -Syu dfe5a5a506 test: unit test for filter commits with scope 2021-06-16 18:11:32 +00:00
sudo pacman -Syu bc4b6e45e1 chore(readme): add rst filetype 2021-06-16 18:00:00 +00:00
sudo pacman -Syu 3b8d13654e refactor: split filter outside generate markdown and rst 2021-06-16 17:56:10 +00:00
sudo pacman -Syu ad0be6321c build: update go.mod 2021-06-16 11:42:58 +07:00
sudo pacman -Syu 4e1b2b7a9b build: update go.mod 2021-06-03 23:47:33 +07:00
sudo pacman -Syu c92b8a63d2
feat: support generate changelog with type rst (#20)
* feat: add rst changelog generate

* feat: add rst changelog parse

* feat: support generate changelog rst

* chore: try to add CHANGELOG.rst

* chore: remove rst changelog file

* test: add rst changelog unit test
2021-06-03 23:15:10 +07:00
sudo pacman -Syu 8b0f009cdf build: update go.mod 2021-06-01 10:09:23 +00:00
sudo pacman -Syu aa27152323 feat: split double newline for markdown 2021-05-31 10:37:24 +00:00
sudo pacman -Syu 1b9ac8c359 feat: remove markdown.NewLine 2021-05-31 07:00:00 +00:00
sudo pacman -Syu ba6b3d599b build: update go.mod 2021-05-30 16:08:32 +00:00
sudo pacman -Syu 4ed0db87bc build: update go.mod 2021-05-24 11:58:50 +07:00
sudo pacman -Syu cbf0c3689e chore(readme): correct link how to install 2021-05-11 05:35:58 +00:00
sudo pacman -Syu 9c23b84032 chore(changelog): generate v1.12.0 2021-05-11 05:06:30 +00:00
sudo pacman -Syu e4fea43741 refactor: move left, rightScope char to const 2021-05-11 05:02:43 +00:00
sudo pacman -Syu 0feef8576c docs: explain why skip error commit 2021-05-11 04:58:37 +00:00
sudo pacman -Syu 31b2d1f446 feat: return error when commit is empty 2021-05-11 04:57:45 +00:00
sudo pacman -Syu 4298794c82 Revert "feat: skip empty commit"
This reverts commit bbd8bf46fc.
2021-05-11 11:54:59 +07:00
sudo pacman -Syu bbd8bf46fc feat: skip empty commit 2021-05-11 11:43:26 +07:00
sudo pacman -Syu 146497ac8b chore: no need to check flag when use a.log() 2021-05-11 11:32:19 +07:00
sudo pacman -Syu 6392d7ba4d build: update go.mod 2021-05-10 10:56:13 +07:00
sudo pacman -Syu 25a39b27a7 chore: remove Dockerfile
No need to use docker for such task
2021-05-10 10:55:13 +07:00
sudo pacman -Syu 1404c8fec9 build: update go.mod 2021-05-07 17:22:26 +07:00
sudo pacman -Syu df25fee2ea build: update go.mod 2021-05-05 16:18:54 +07:00
sudo pacman -Syu 085580e884 chore(changelog): generate v1.11.0 2021-05-05 16:15:18 +07:00
sudo pacman -Syu 5a887cd08f
feat: use markdown-go (#19)
* feat: use markdown-go

* chore: remove unused markdown
2021-05-05 16:12:59 +07:00
sudo pacman -Syu dd2bf81ff8
refactor: move main to cmd (#18)
* refactor: move main to cmd

* chore: build cmd in github action
2021-05-05 15:18:47 +07:00
sudo pacman -Syu 0fa8f429db
refactor: use internal instead pkg (#17) 2021-05-05 15:11:54 +07:00
sudo pacman -Syu 846a150cfd
chore: improve wording, typo (#16) 2021-04-26 09:54:31 +07:00
Tran Hau 52da6c9b2b chore(changelog): generate v1.10.0 2021-04-23 03:52:23 +00:00
sudo pacman -Syu 2a12f7649b
refactor(cli): move all cli related to cli pkg (#15)
* refactor: move all cli related to cli pkg

* refactor: move all usage to const

* fix: verbose flag should be inside generate command

Co-authored-by: Tran Hau <ngtranhau@gmail.com>
2021-04-23 10:51:27 +07:00
sudo pacman -Syu 228ca6370e
feat: add color to dry run (#14)
* feat: add color to dry run mode

* chore: better wording

Co-authored-by: Tran Hau <ngtranhau@gmail.com>
2021-04-23 10:36:10 +07:00
Tran Hau d897c94d29 chore(changelog): generate v1.9.1 2021-04-15 04:59:29 +00:00
sudo pacman -Syu 7d04c80d6e
fix: correct time layout (#13)
* fix: use correct date layout

* chore: wrap date layout inside parenthesis

Co-authored-by: Tran Hau <ngtranhau@gmail.com>
2021-04-15 11:59:01 +07:00
Tran Hau 640d18c79d chore(changelog): generate v1.9.0 2021-04-15 04:29:49 +00:00
sudo pacman -Syu 552034123d
feat: show time of each commit as the default (#12)
* feat(git): add author time

* feat(git): add author info

* refactor: use commit option to generate convertional commit

* feat: add author date to convention commit

* refactor(changelog): replace t time var with when

Co-authored-by: Tran Hau <ngtranhau@gmail.com>
2021-04-15 11:28:04 +07:00
Tran Hau 3ea63124fc chore(changelog): generate v1.8.0 2021-04-14 10:14:48 +00:00
Tran Hau 021275bf93 chore(reamde): add --dry-run and --scope flag in guide 2021-04-14 10:10:17 +00:00
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 c495ff942c
feat: add dry run (#10)
* feat: add --dry-run flag

* feat: use pkg/diff to actually compare old and new changelog

Co-authored-by: Tran Hau <ngtranhau@gmail.com>
2021-04-14 14:31:00 +07:00
Tran Hau 20fa3205bf build: update go.mod 2021-04-14 05:09:57 +00:00
sudo pacman -Syu 5e9ff3a18f
feat: use my own color pkg to wrap fatih/color (#9)
Co-authored-by: Tran Hau <ngtranhau@gmail.com>
2021-04-14 11:46:17 +07:00
Tran Hau b3893cd1ba chore(changelog): generate v1.7.0 2021-04-11 16:21:34 +07:00