1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-24 04:16:27 +02:00

111 Commits

Author SHA1 Message Date
Olivier Mengué
61bf917918
fix: jsonschema for ReleaseNotesMode (#2741) 2021-12-06 16:58:37 -03:00
caarlos0
167d95e67f docs: update 2021-12-06 13:09:58 +00:00
caarlos0
2e31aa1146 docs: update 2021-12-04 15:34:28 +00:00
Carlos Alexandro Becker
b8f61718f3
feat: allow to customize release notes update behavior (#2702)
* feat: allow to customize release notes update behavior

closes #1384

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: make it a bit better

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: jsonschema

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-11-26 09:59:15 -03:00
caarlos0
4b556a4e03 docs: update 2021-11-24 01:26:10 +00:00
caarlos0
6a081264f1 docs: update 2021-11-24 01:20:05 +00:00
caarlos0
b1d16bbee9 docs: update 2021-11-23 18:54:40 +00:00
caarlos0
4a529c767d docs: update 2021-11-23 13:19:44 +00:00
caarlos0
dd831a09b2 docs: update 2021-11-18 13:03:37 +00:00
Carlos Tadeu Panato Junior
7f272482e4
fix: add env to the sign schema (#2673)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-11-18 09:54:21 -03:00
Patrick Hahn
e5a9e18050
feat(schema): add command that generates jsonschema (#2589)
* feat(schema): Add command that generates the jsonschema for .goreleaser.yml files

This commit adds the jsonschema/schema subcommand that generates a jsonschema doc based on the Project go struct.
For the config types that alternatively allow you to specify a string via custom UnmarshalYAML function, this commit adds the JSONSchemaType function, so the type gets documented with an oneOf with string or itself.
Add yaml key names for properties that are currently missing them, so alecthomas/jsonschema generates the keys with correct casing.

Signed-off-by: Patrick Hahn <patricksilashahn@gmx.net>

* fix: Add linguist-generated attribute to generated schema json to exclude this file from pull request size validation

Signed-off-by: Patrick Hahn <patricksilashahn@gmx.net>

* fix: run gofumpt

Signed-off-by: Patrick Hahn <patricksilashahn@gmx.net>

* chore(schema): update alecthomas/jsonschema and regenerate schema.json

Signed-off-by: Patrick Hahn <patricksilashahn@gmx.net>
2021-10-26 15:02:03 -03:00