Commit Graph

147 Commits (b98c62c46fa34b633f1d46fd888ed8fb2a702c3b)

Author SHA1 Message Date
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 f2a995e15f build: update go.mod 2021-03-18 10:27:33 +00:00
Tran Hau 27c7d3be34 chore: bump go 1.16.2 in github action 2021-03-18 10:22:51 +00:00
Tran Hau c962ad103f chore: use go 1.16.x in github action 2021-03-18 10:21:19 +00:00
Tran Hau 7b32bb17b0 chore: remove gotip from github action 2021-03-18 10:15:20 +00:00
Tran Hau b508b6579b chore: remove gotip build as time consuming 2021-03-18 10:14:19 +00:00
Tran Hau 84e5921abd chore: use semver go version in github action 2021-03-18 10:10:16 +00:00
Tran Hau 4fd91c5c02 chore(changelog): generate v1.4.0 2021-03-17 05:14:50 +00:00
Tran Hau fc961796ea feat: deprecated ioutil 2021-03-17 05:13:28 +00:00
Tran Hau 616b403203 chore: bump go 1.16 in Dockerfile 2021-03-17 05:12:22 +00:00
Tran Hau 9ae8afd69e build: bump go 1.16 in go.mod 2021-03-17 05:11:43 +00:00
sudo pacman -Syu d40a42f1b7 build: update go.mod 2021-03-15 17:03:15 +00:00
sudo pacman -Syu b2ce2f5355 chore(readme): add guide for install with go 1.16 2021-03-15 17:00:47 +00:00
sudo pacman -Syu 7a5909f200 chore: bump go v1.16, golangci-lint v1.37 in github action 2021-03-04 02:59:06 +00:00
sudo pacman -Syu ce5a595c7b build: update go.mod 2021-03-04 02:58:40 +00:00
sudo pacman -Syu 019756cfa3 build: update go.mod 2021-02-19 13:18:04 +07:00
Tran Hau 379cd48435 chore(license): bump 2021 2021-01-21 15:54:46 +07:00
Tran Hau d51a5a5585 chore(changelog): generate v1.3.0 2021-01-20 14:58:16 +07:00
Tran Hau 3d7da7b4b0 chore(markdown): re-format file 2021-01-20 14:56:21 +07:00
Tran Hau 0206b95bf0 chore: move fmtErr global var 2021-01-20 14:54:35 +07:00
Tran Hau 59c5aaa8d1 chore: typo defaultRepository 2021-01-20 14:54:08 +07:00
Tran Hau 464f04d39d build: update go.mod 2021-01-20 14:53:22 +07:00
Tran Hau 7fa2f09e47 build: update go.mod 2021-01-18 13:59:35 +07:00
Tran Hau 047b9628e6 chore(readme): add lgtm badge 2021-01-12 01:40:40 +07:00
Tran Hau f63264dc60 chore(changelog): generate v1.2.0 2021-01-12 01:38:16 +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
Tran Hau e4a5fa00cd chore: update gitignore 2021-01-12 01:19:02 +07:00
Tran Hau ec47122d1a chore: build generally with go tip 2021-01-07 11:35:52 +07:00
Tran Hau bf4f0cea4a chore(changelog): generate v1.1.0 2021-01-07 11:34:28 +07:00
Tran Hau d823f6799d chore(cli): remove unused log debug 2021-01-07 11:32:08 +07:00
hau db0c2e2c1f refactor(cli): change name -> appName 2021-01-07 11:29:35 +07:00
hau dd720b777b refactor(cli): replace flags map with directly field 2021-01-07 11:28:58 +07:00
hau 8f43f68fe4 feat(cli): remove use of args 2021-01-07 11:22:33 +07:00
hau d0145fda27 chore(changelog): generate v1.0.0 2021-01-05 18:00:10 +07:00
hau 84c73e3eef feat(convention): remove directly access conventional commit 2021-01-05 17:58:59 +07:00
hau 5701a6d5c4 feat(cli): remove default version 2021-01-05 17:11:31 +07:00
hau dccea784d0 feat(cli): remove unused output filename 2021-01-05 16:42:43 +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 6c550e8a3f chore(cli): lowercase debug message 2021-01-05 16:08:39 +07:00
hau 17d8fb3a3d chore(cli): remove default flags 2021-01-05 16:06:50 +07:00
hau 0ac61252f3 fix(cli): correct --debug short alias 2021-01-05 16:04:52 +07:00
hau 3501cb3846 feat(cli): args is need, I was wrong 2021-01-05 16:03:48 +07:00
hau 8945cabfef chore(readme): remove --include-to, --exclude-to in guide 2021-01-05 16:00:48 +07:00
hau a9dec8f4b9 chore(readme): add thanks Command Line Interface Guidelines 2021-01-05 15:59:46 +07:00
hau 2be6b0c2cc chore(cli): FILETYPE is a misc 2021-01-05 15:55:52 +07:00