Commit graph

228 commits

Author SHA1 Message Date
Manuel Vogel
6ad9b5c2db
fix: release process (#231)
* chore: use  --clean for goreleaser
* fix(ci): add gorleaser test
* fix(ci): prebuild binary in IT test
* fix(ci): use only ubuntu for docker image tests
2023-02-11 11:50:26 +01:00
Manuel Vogel
26c9a7c721 chore: update changelog for v0.15.3 2023-02-11 11:00:55 +01:00
Manuel Vogel
f3cf5b67a0
fix(ci): add integration test with docker image (#226)
* fix: add git safe directory for /workdir
* chore: use docker staged build
2023-02-11 10:54:32 +01:00
renovate[bot]
b0f4afeff4
fix(deps): update module github.com/urfave/cli/v2 to v2.24.3 (#227)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-08 15:01:44 +01:00
renovate[bot]
f608376b8d
fix(deps): update module github.com/fatih/color to v1.14.1 (#224)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-24 07:27:10 +01:00
renovate[bot]
6ff4d21a0e
fix(deps): update all non-major dependencies (#223)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-23 09:58:25 +01:00
Manuel Vogel
13cb5b3dc4 chore: bump docker/login-action to v2. Closes #206
Signed-off-by: Manuel Vogel <mavogel@posteo.de>
2023-01-23 09:55:36 +01:00
Manuel Vogel
1dbe8da4a3 chore: bump goreleaser/goreleaser-action to v4. Closes #208
Signed-off-by: Manuel Vogel <mavogel@posteo.de>
2023-01-23 09:53:30 +01:00
Manuel Vogel
7d4f3e8dff chore: update changelog for v0.15.2 2023-01-22 12:06:25 +01:00
Manuel Vogel
36320619c5 chore: update changelog for v0.15.2 2023-01-22 12:04:33 +01:00
renovate[bot]
4f3ff62db6
chore(deps): update all non-major dependencies (#220)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-22 12:01:00 +01:00
renovate[bot]
5896ad91ce
fix(deps): update module gopkg.in/yaml.v2 to v3 (#221)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-22 11:59:09 +01:00
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
Manuel Vogel
03f0a44924
chore: update changelog for v0.15.1 2021-12-14 13:25:51 +01:00
Manuel Vogel
9558380243
chore: ignore .vscode 2021-12-14 13:23:54 +01:00
renovate[bot]
3d8006051f
fix(deps): update all non-major dependencies (#179)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-14 13:20:53 +01:00
Jameson Stone
2861505ecb
ci(workflows): 🔧 remove manual if contains skip in workflows (#164) 2021-12-14 13:20:18 +01:00
renovate[bot]
899c1ede45
chore(deps): update all non-major dependencies docker tags (#168)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-31 12:24:56 +02:00
renovate[bot]
93707ab667
fix(deps): update module github.com/andygrunwald/go-jira to v1.14.0 (#167)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-04 15:56:31 +02:00
renovate[bot]
7a3896821b
fix(deps): update module github.com/alecaivazis/survey/v2 to v2.2.16 (#165)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-04 11:34:53 +02:00
renovate[bot]
0022ecf864
fix(deps): update module github.com/alecaivazis/survey/v2 to v2.2.15 (#163)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-26 10:13:47 +02:00
Manuel Vogel
82ead28bee
chore: update changelog for v0.15.0 2021-07-09 09:31:50 +02:00
Thierno IB. BARRY
21b98bd56f
feat: Automatic link for gitlab merge requests (#160) 2021-07-09 09:26:33 +02:00
renovate[bot]
45e01f0f7f
fix(deps): update module github.com/alecaivazis/survey/v2 to v2.2.14 (#158)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-05 10:18:56 +02:00
renovate[bot]
6a18b6ef90
fix(deps): update module github.com/alecaivazis/survey/v2 to v2.2.13 (#156)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-29 08:24:33 +02:00
renovate[bot]
b38b5032cf
chore(deps): update alpine docker tag to v3.14.0 (#153) 2021-06-17 07:05:15 -05:00
renovate[bot]
9842899ea1
fix(deps): update module github.com/fatih/color to v1.12.0 (#150)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-25 09:05:09 +02:00
renovate[bot]
ac01b30c39
fix(deps): update module github.com/fatih/color to v1.11.0 (#149)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-14 09:19:18 +02:00
renovate[bot]
cefdc53e29
fix(deps): update module github.com/alecaivazis/survey/v2 to v2.2.12 (#147)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-30 14:03:34 +02:00
Derek Smith
c257740de9 chore: update changelog for v0.14.2 2021-04-16 07:17:02 -05:00
Khosrow Moossavi
bfac4702a7
fix: add CommitGroupTitleOrder back to Options (#143)
This was, accidentally, removed in part of one PR a while back and
caused the Custom sort to not work properly.

Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>
2021-04-14 17:01:05 -04:00
renovate[bot]
57aad771c8
chore(deps): update alpine docker tag to v3.13.5 (#144)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-14 15:46:29 -04:00
Derek Smith
bc0f363327 chore: update changelog for v0.14.1 2021-04-13 16:35:35 -05: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
Khosrow Moossavi
7cc56b1256
chore: add docker target to Makefile (#138)
Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>
2021-04-02 12:19:50 -04:00
renovate[bot]
f76afed086
chore(deps): update alpine docker tag to v3.13.4 (#136)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-01 10:47:18 -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
Khosrow Moossavi
8d9e00b699
ci: overall enhancements and cosmetics improvements (#134)
* ci: cosmetic renaming CI jobs

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

* chore: overrall Makefile enhancements

Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>
2021-03-31 12:41:24 -04: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
Derek Smith
2f5b47b0f7 chore: update changelog for v0.14.0 2021-03-28 22:21:56 -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
Khosrow Moossavi
34b9d5c997
ci: deprecate AppVoyer integration (#128)
With the migration to GitHub Action, there's no need to continue to use
AppVoyer to only test on Windows, as it's covered by corresponding new
jobs.

Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>
2021-03-25 22:48:53 -05:00
Derek Smith
b44eb4e011
chore(CHANGELOG): regenerate CHANGELOG with type-scope and KAC template (#129) 2021-03-24 16:59:08 -05:00
Derek Smith
4d8b2b6be7 chore: update changelog for v0.13.0 2021-03-23 14:14:31 -05:00
Derek Smith
3113e42524
chore: use ldflags to pass version to build process (#127) 2021-03-23 14:11:35 -05:00
Mason J. Katz
9a0d584745
feat: add support for rendering .Body after .Subject as part of list (#121)
When attempting to render a commit body below the summary line of the
commit there are two problems:

1) The text needs to be indented two spaces to appear as part of the
list.

2) Notes (e.g. BREAKING CHANGE) are included in the body and end up
being repeating in a Notes section (if this is part of your template).

To address #1 add an `indent` func to the template parsing.
To address #2 add a `TrimmedBody` to the `Commit` fields.

The `TrimmedBody` will include everything in `Body` but not any
`Ref`s, `Note`s, `Mention`s, `CoAuthors`, or `Signers`.

Both the CoAuthors and Signers are now first class in the Commit
struct.

With both of these a template block like:

```
{{ if .TrimmedBody -}}
{{ indent .TrimmedBody 2 }}
{{ end -}}
```

Will render the trimmed down body section as intended.

See TestGeneratorWithTimmedBody for example of desired output.
2021-03-22 16:04:57 -05:00
Derek Smith
2caa67cc76 chore: update changelog for v0.12.0 2021-03-20 22:20:14 -05:00