Commit graph

39 commits

Author SHA1 Message Date
Orpheus Lummis
cbab5b89dc
chore: update Go install instructions (#205) 2023-01-22 11:57:59 +01:00
Benjamin K
66a1d9ea5a
fix: typo in readme (#196) 2023-01-22 11:57:26 +01:00
Manuel Vogel
d1dc1da744
chore: bump golang to 1.19 (#218)
* chore: bump golang to 1.19

Signed-off-by: Manuel Vogel <mavogel@posteo.de>

* fix: [#212] Vulnerabilities. (#219)

Co-authored-by: Manuel Vogel <mavogel@posteo.de>

* chore: bump all dependencies

Signed-off-by: Manuel Vogel <mavogel@posteo.de>

* chore(deps): update actions/setup-go action to v3 (#202)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update actions/checkout action to v3 (#201)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update golangci/golangci-lint-action action to v3 (#203)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(ci): add explicit go setup before linting

Signed-off-by: Manuel Vogel <mavogel@posteo.de>

* chore(ci): bump golangci to v1.50.1

Signed-off-by: Manuel Vogel <mavogel@posteo.de>

* chore: go fmt

Signed-off-by: Manuel Vogel <mavogel@posteo.de>

* chore: ignore staticcheck for strings.Title

Signed-off-by: Manuel Vogel <mavogel@posteo.de>

* chore: reaplce all ioutil with os funcs

Signed-off-by: Manuel Vogel <mavogel@posteo.de>

* chore ignore file read sec check

Signed-off-by: Manuel Vogel <mavogel@posteo.de>

* fix: remove unnecessary if before trimPrefix

Signed-off-by: Manuel Vogel <mavogel@posteo.de>

Signed-off-by: Manuel Vogel <mavogel@posteo.de>
Co-authored-by: Ben van B <030@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2023-01-22 11:56:18 +01:00
Derek Smith
fdd421b057
fix(template): address regression in string functions for template engine (#142)
It appears that `Sprig` flips the inputs of the `contains`, `hasPrefix`, `replace`
and `hasSuffix` `strings` methods. This appears to be the cause of the regression.

See: https://github.com/Masterminds/sprig/blob/master/functions.go#L149-L152

This results in a regression against the previous implementations of the template
functions.

Signed-off-by: Derek Smith <derek@clokwork.net>
2021-04-13 16:27:42 -05:00
Anthony MARQUES
2307bff72f
feat: add docker image on release and master (#135)
* feat: add docker image on release and master

* resolves return on the PR

* Add Installation docker doc

* Update .github/workflows/publish.yml

Co-authored-by: Derek Smith <derek@clokwork.net>

* Resovle PR conversations

* No v in RawVersion

Co-authored-by: Derek Smith <derek@clokwork.net>
2021-04-01 10:41:35 -05:00
Derek Smith
b02996e027
chore: add make release target (#130)
Signed-off-by: Derek Smith <derek@clokwork.net>
2021-03-30 12:53:27 -05:00
Trent Albright
4f3fdc4dae
feat: add sprig template functions support (#131)
* cherry-pick from delmendo

* add tests, docs, and lift hermetic restriction

* remove duplicate funcs that are now provided by sprig

* switch func load order to allow built-ins precedence

* Update chglog.go

Co-authored-by: Dirk Elmendorf <dirk@r26d.com>
2021-03-28 22:18:36 -05:00
Sander Blue
e523fd471a
feat: add --sort [TYPE] flag (#78)
* feat(chglog): add --sort flag

* chore(sort): update README with --sort usage
2021-03-28 22:17:21 -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
Khosrow Moossavi
9a1a9a525c
chore(docs):cleanup Markdown lint issues and line breaks (#122)
* chore(docs): Fix markdown lint issues
* chore(docs): Adhere to semantic line breaks
2021-03-18 08:35:57 +01: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
Manuel Vogel
2c3d3f400e
chore: bump golang to 1.16 (#118)
* chore: support goarch 386
* docs(readme): add golang version hint in development section
2021-03-14 21:21:30 +01:00
Derek Smith
54bb7363dc chore: update readme and changelog for v0.11.1 2021-03-12 15:12:16 -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
Manuel Vogel
49ea2f24a9
docs(readme): replaces travis with gh actions badge 2021-01-16 06:53:11 +01:00
Derek Smith
d6315435a3
chore(asdf): add asdf install support to README (#79) 2021-01-10 15:48:58 +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
72fb3eac14 feat: add option to filter commits in a case insensitive way 2020-04-13 18:08:02 +02:00
Joe Block
ec5cdfeea2 docs: Markdown tweaks in README.md
* Added hotlink for Homebrew to be consistent with Scoop entry
* Fix assorted typos
* Formatted git as `git` in a few places it had been missed
* Minor phrasing tweaks
* Remove extra blank lines to make sections consistent
2020-03-28 08:16:21 -06: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
Chawye Hsu
af1f71410a
docs: Add windows installation 2019-05-16 15:27:40 +08:00
David Rubin
f53bfccee0
docs: Fix typo
Fix references typo
2018-11-09 11:18:48 +01:00
tsuyoshiwada
4046d94b7c docs: Fix typo 2018-05-05 22:18:44 +09:00
tsuyoshiwada
83ccab2905 docs: Add document related on --next-tag 2018-05-05 22:13:56 +09:00
tsuyoshiwada
bcfe4d23cf docs: docs: Update template example for README 2018-05-04 17:25:01 +09:00
tsuyoshiwada
3f49f9338f docs: Update template example for README 2018-05-04 16:47:34 +09:00
tsuyoshiwada
f65b08d1f6 docs: Fix markdown table format 2018-04-23 10:21:21 +09:00
aoki
d44e8ccdcb
docs: Fix "style" markdown format 2018-04-22 16:15:38 +09:00
tsuyoshiwada
a00a2f206f docs: Add Bitbucket section 2018-04-14 15:58:40 +09:00
tsuyoshiwada
588c3d0a41 docs: Update TODO List 2018-04-02 23:38:06 +09:00
tsuyoshiwada
0a623f3f61 docs: Add document related to GitLab 2018-03-12 00:14:18 +09:00
tsuyoshiwada
d446571b8c docs: Fix old template section in document 2018-03-05 23:53:48 +09:00
tsuyoshiwada
dd838e8675 docs: Add AppVeyor status badge 2018-02-28 23:01:55 +09:00
tsuyoshiwada
7fe88a3f61 docs: Add coveralls status badge 2018-02-24 02:34:26 +09:00
jose nazario
65669492a0
fix a small typo, no content changes 2018-02-23 09:53:26 -05:00
tsuyoshiwada
ff400cdfd3 docs: Fix links 2018-02-18 21:37:20 +09:00
tsuyoshiwada
9e216d5627 docs: Add documentation 2018-02-18 21:05:33 +09:00