1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-22 04:08:49 +02:00

docs: update changelog docs and schema

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos A Becker 2023-01-07 23:44:50 -03:00
parent 8e3567ed0a
commit 95c4c86806
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
3 changed files with 60 additions and 17 deletions

View File

@ -64,6 +64,27 @@ changelog:
order: 1
- title: Others
order: 999
# A group can have subgroups.
# If you use this, all the commits that match the parent group will also
# be checked against its subgroups. If some of them matches, it'll be
# grouped there, otherwise they'll remain ungrouped.
#
# The title is optional - you can think of groups as a way to order
# commits within a group.
#
# There can only be one level of subgroups, i.e. a subgroup cannot have
# subgroups.
#
# This feature is only available in GoReleaser Pro.
#
# Since: v1.15.0-pro
subgroups:
- title: 'Docs'
regex: '.*docs.*'
order: 1
- title: 'CI'
regex: '.*build.*'
order: 2
filters:
# Commit messages matching the regexp listed here will be removed from

View File

@ -5,7 +5,8 @@ additional features:
- [x] [Split and merge builds](/customization/partial) to speed up your release
by splitting work, use CGO, or run platform-specific code;
- [x] [Filter commits by path in the changelog](/customization/changelog);
- [x] More [changelog options](/customization/changelog): Filter commits by path
& sub-groups;
- [x] Have custom [before and after hooks for archives](/customization/archive/);
- [x] Prepare a release with
[`goreleaser release --prepare`](/cmd/goreleaser_release/), publish and

53
www/docs/static/schema-pro.json generated vendored
View File

@ -474,21 +474,6 @@
"additionalProperties": false,
"type": "object"
},
"ChangeLogGroup": {
"properties": {
"title": {
"type": "string"
},
"regexp": {
"type": "string"
},
"order": {
"type": "integer"
}
},
"additionalProperties": false,
"type": "object"
},
"Changelog": {
"properties": {
"filters": {
@ -518,7 +503,7 @@
},
"groups": {
"items": {
"$ref": "#/$defs/ChangeLogGroup"
"$ref": "#/$defs/ChangelogGroup"
},
"type": "array"
},
@ -535,6 +520,42 @@
"additionalProperties": false,
"type": "object"
},
"ChangelogGroup": {
"properties": {
"title": {
"type": "string"
},
"regexp": {
"type": "string"
},
"order": {
"type": "integer"
},
"groups": {
"items": {
"$ref": "#/$defs/ChangelogSubgroup"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object"
},
"ChangelogSubgroup": {
"properties": {
"title": {
"type": "string"
},
"regexp": {
"type": "string"
},
"order": {
"type": "integer"
}
},
"additionalProperties": false,
"type": "object"
},
"Checksum": {
"properties": {
"name_template": {