mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
docs: update schema for changelog.sort
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
parent
2af9bdb689
commit
13fda95e0e
@ -826,7 +826,7 @@ type Filters struct {
|
||||
// Changelog Config.
|
||||
type Changelog struct {
|
||||
Filters Filters `yaml:"filters,omitempty" json:"filters,omitempty"`
|
||||
Sort string `yaml:"sort,omitempty" json:"sort,omitempty"`
|
||||
Sort string `yaml:"sort,omitempty" json:"sort,omitempty" jsonschema:"enum=asc,enum=desc,enum=,default="`
|
||||
Skip bool `yaml:"skip,omitempty" json:"skip,omitempty"` // TODO(caarlos0): rename to Disable to match other pipes
|
||||
Use string `yaml:"use,omitempty" json:"use,omitempty" jsonschema:"enum=git,enum=github,enum=github-native,enum=gitlab,default=git"`
|
||||
Groups []ChangeLogGroup `yaml:"groups,omitempty" json:"groups,omitempty"`
|
||||
|
8
www/docs/static/schema.json
generated
vendored
8
www/docs/static/schema.json
generated
vendored
@ -478,7 +478,13 @@
|
||||
"$ref": "#/$defs/Filters"
|
||||
},
|
||||
"sort": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"asc",
|
||||
"desc",
|
||||
""
|
||||
],
|
||||
"default": ""
|
||||
},
|
||||
"skip": {
|
||||
"type": "boolean"
|
||||
|
Loading…
x
Reference in New Issue
Block a user