Commit graph

60 commits

Author SHA1 Message Date
Derek Smith
9926e07971 chore: bumps version to v0.12.0 2021-03-20 21:57:06 -05:00
Louis DeLosSantos
ebff3d0beb
feat: allow tag sorting by semver (#124)
Relates to #123.

While this does not introduce "per-branch" tag parsing it does allow an
alternative tag sorting method which maybe a better solution.

With this commit the user can decide to sort the tags by semver instead
of dates.

This is useful where repositories are utilizing a  stable branch model
and back-ports are interleaved with new releases.

For example, if your mainline is on v3.0.0 with it's last release
1/1/2021 and a back-port release of v2.0.1 is released on 1/2/2021,
sorting by semver will correctly order the change log producing
v2.0.1 -> v2.0.1 -> v3.0.0

This functionality is completely opt-in and defaults to the original
"date" sorting

Signed-off-by: ldelossa <louis.delos@gmail.com>
2021-03-20 17:21:47 -05:00
Derek Smith
ae3382b7c8
chore(ci): add golangci-lint action and apply linting changes (#120)
BREAKING CHANGE: `JiraIssueId` has been renamed to `JiraIssueID`. This impacts the value for `pattern_maps` in `config.yml`.

* chore(ci): add golangci-lint action

* chore(lint): address errcheck lint failures

* chore(lint): address misspell lint failures

* chore(lint): address gocritic lint failures

* chore(lint): address golint lint failures

* chore(lint): address structcheck lint failures

* chore(lint): address gosimple lint failures

* chore(lint): address gofmt lint failures

* chore(ci): port to official golangci-lint github action

* Update golangci configuration for better coverage

Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>

* fix: file is not goimports-ed

Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>

* fix: golint and exported functions comments

Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>

* chore(lint): address gosec G304 warning

* chore(lint): address uparam warnings

* chore(lint): address scopelint lint failures

* fix: cyclomatic complexity

Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>

* chore(lint): address prealloc warning, noting that we are warning for now

* chore(lint): address govet and errorlint failures

* chore: clean up defer logic when checking errors

Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com>
2021-03-16 21:24:36 -05:00
Derek Smith
500a5db7e9 chore: bumps version to v0.11.2 2021-03-13 21:56:04 -06:00
Prasad Tengse
a7ea397268
fix: --template and --repository-url flags not being used (#119)
Co-authored-by: Prasad Tengse <tprasadtp@users.noreply.github.com>
2021-03-13 21:54:40 -06:00
Derek Smith
e6e7a69a7d chore: bumps version to v0.11.1 2021-03-12 14:59:47 -06:00
Derek Smith
aa2732d6a2
fix(short flags): correctly define cli flags with shorthands (#117) 2021-03-12 14:56:24 -06:00
Derek Smith
0cc1984e29 chore: bumps version to v0.11.0 2021-03-12 10:43:13 -06:00
Mikael Fridh
9d62af2943
feat(flag): --path filtering - refs (#62). Closes #35
* Argument: --path filtering - refs #35
* Minor documentation additions for Paths option
2021-03-12 13:57:00 +01:00
Chao Li
a1c84d7a0d
feat: add Jira integration (#52) 2021-03-11 08:40:32 +01:00
Derek Smith
8713d96856
fix(init): support OptionAnswer form in survey/v2 (#113) 2021-03-09 10:21:47 +01:00
Derek Smith
efa1c30c0a
fix(deps): update module gopkg.in/kyokomi/emoji.v1 to github.com/kyokomi/emoji/v2 (#109) 2021-03-05 11:54:38 -06:00
Derek Smith
43006610a1
fix(deps): update module github.com/urfave/cli to v2 (#107)
* Migration guide https://github.com/urfave/cli/blob/master/docs/migrate-v1-to-v2.md
2021-03-04 17:18:00 -06:00
Derek Smith
289163a1e2
fix(deps): update module gopkg.in/alecaivazis/survey.v1 to github.com/AlecAivazis/survey/v2 (#108) 2021-03-04 13:59:32 -06:00
Manuel Vogel
5d98a27559
chore: bumps version to v0.10.0 2021-01-16 07:46:04 +01:00
Khosrow Moossavi
44f71cbcd8
feat: Adds 'Custom' sort_type to CommitGroup (#69)
Closes #60
2021-01-09 23:11:18 +01:00
Trim21
75d59a9eb8
feat: enable tag_filter_pattern in config options (#72)
Closes #70
2021-01-09 09:51:14 +01:00
Thierno IB. BARRY
0a4450abc1 apply go fmt 2020-04-13 18:08:02 +02:00
Thierno IB. BARRY
72fb3eac14 feat: add option to filter commits in a case insensitive way 2020-04-13 18:08:02 +02:00
Shintaro Ikeda
15ce9db03e feat: Add emoji format and some formatters in variables 2019-11-27 22:35:00 +09:00
tsuyoshiwada
40b31a0f68 release: Release 0.9.1 2019-09-23 21:02:21 +09:00
Chao Li
1198e283de feat: Add --tag-filter-pattern flag.
This flag specifies a regular expression and only matched tags will
be included in change log.

Closes #43
2019-07-10 09:17:01 +08:00
tsuyoshiwada
86d67ce2f0 release: Release 0.8.0 2019-02-23 22:28:36 +09:00
tsuyoshiwada
44fcaed553 release: Release 0.7.1 2018-11-10 10:34:29 +09:00
tsuyoshiwada
594ec82eaf release: Release 0.7.0 2018-05-06 14:49:19 +09:00
tsuyoshiwada
87df4b477c feat: Add URL of output example for template style 2018-05-06 14:23:19 +09:00
tsuyoshiwada
4046d94b7c docs: Fix typo 2018-05-05 22:18:44 +09:00
tsuyoshiwada
f8f4ccb8b7 feat: Add --next-tag flag (experimental) 2018-05-05 21:44:16 +09:00
tsuyoshiwada
cb878aff2a release: Release 0.6.0 2018-05-04 17:35:49 +09:00
tsuyoshiwada
481f6c0770 feat: Add tag name header id for keep-a-changelog template 2018-05-04 17:23:43 +09:00
tsuyoshiwada
774bdce700 release: Release 0.5.0 2018-05-04 16:49:53 +09:00
tsuyoshiwada
d3e1f56e91 fix: Add unreleased commits section to keep-a-changelog template #15 2018-05-04 16:25:10 +09:00
tsuyoshiwada
25c41823a3 feat: Update template format to human readable 2018-05-04 10:07:09 +09:00
tsuyoshiwada
ce7ccb0db0 release: Release 0.4.0 2018-04-14 18:05:41 +09:00
tsuyoshiwada
21ae9e8388 feat: Add support for Bitbucket 2018-04-14 15:09:06 +09:00
tsuyoshiwada
765f0c96ed release: Release 0.3.3 2018-04-07 15:16:34 +09:00
tsuyoshiwada
09a216a8a1 release: Release 0.3.2 2018-04-02 01:16:09 +09:00
tsuyoshiwada
e30498689c fix: Fix color output bug in windows help command 2018-04-02 01:04:50 +09:00
tsuyoshiwada
4a9b3ef65a release: Release 0.3.1 2018-03-15 11:49:21 +09:00
Yoshiya Hinosawa
b217d782eb fix: fix preview string of commit subject 2018-03-15 10:33:03 +09:00
tsuyoshiwada
4a68d692ab release: Release 0.3.0 2018-03-12 00:38:09 +09:00
tsuyoshiwada
45ed6e3ee2 feat: Add support for GitLab 2018-03-12 00:09:47 +09:00
tsuyoshiwada
f11b9e6143 release: Release 0.2.0 2018-03-02 11:10:58 +09:00
tsuyoshiwada
98543fb897 test: Pass all the test cases with windows 2018-03-02 02:06:19 +09:00
tsuyoshiwada
ed6fb2722e feat: Add template for Keep a changelog to the --init option 2018-03-02 00:51:56 +09:00
tsuyoshi wada
5c456f8bca
Merge branch 'master' into fix-test 2018-02-28 18:12:37 +09:00
Yasuhiro Matsumoto
88ea38ea8f revert change for Initializer
since InitContext should have Stdout/Stderr which is set as colorable
2018-02-28 17:47:33 +09:00
Yasuhiro Matsumoto
51d980ff82 some fixes of tests on Windows 2018-02-28 14:27:03 +09:00
Yasuhiro Matsumoto
9067d95bd7 support Windows colors 2018-02-28 14:11:07 +09:00
tsuyoshiwada
c284c96eae release: Release 0.1.0 (retry) 2018-02-25 16:34:09 +09:00