mirror of
https://github.com/goreleaser/goreleaser.git
synced 2024-12-27 01:33:39 +02:00
fix(jsonschema): add custom JSONSchema type to umask (#5276)
This commit is contained in:
parent
a7721dc1fe
commit
885bcc090b
@ -945,7 +945,7 @@ type NFPMOverridables struct {
|
||||
Recommends []string `yaml:"recommends,omitempty" json:"recommends,omitempty"`
|
||||
Suggests []string `yaml:"suggests,omitempty" json:"suggests,omitempty"`
|
||||
Conflicts []string `yaml:"conflicts,omitempty" json:"conflicts,omitempty"`
|
||||
Umask fs.FileMode `yaml:"umask,omitempty" json:"umask,omitempty"`
|
||||
Umask fs.FileMode `yaml:"umask,omitempty" json:"umask,omitempty" jsonschema:"oneof_type=string;integer"`
|
||||
Replaces []string `yaml:"replaces,omitempty" json:"replaces,omitempty"`
|
||||
Provides []string `yaml:"provides,omitempty" json:"provides,omitempty"`
|
||||
Contents files.Contents `yaml:"contents,omitempty" json:"contents,omitempty"`
|
||||
|
20
www/docs/static/schema-pro.json
generated
vendored
20
www/docs/static/schema-pro.json
generated
vendored
@ -2340,7 +2340,14 @@
|
||||
"type": "array"
|
||||
},
|
||||
"umask": {
|
||||
"type": "integer"
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "integer"
|
||||
}
|
||||
]
|
||||
},
|
||||
"replaces": {
|
||||
"items": {
|
||||
@ -2726,7 +2733,14 @@
|
||||
"type": "array"
|
||||
},
|
||||
"umask": {
|
||||
"type": "integer"
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "integer"
|
||||
}
|
||||
]
|
||||
},
|
||||
"replaces": {
|
||||
"items": {
|
||||
@ -4713,4 +4727,4 @@
|
||||
}
|
||||
},
|
||||
"description": "goreleaser configuration definition file"
|
||||
}
|
||||
}
|
||||
|
18
www/docs/static/schema.json
generated
vendored
18
www/docs/static/schema.json
generated
vendored
@ -1828,7 +1828,14 @@
|
||||
"type": "array"
|
||||
},
|
||||
"umask": {
|
||||
"type": "integer"
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "integer"
|
||||
}
|
||||
]
|
||||
},
|
||||
"replaces": {
|
||||
"items": {
|
||||
@ -2205,7 +2212,14 @@
|
||||
"type": "array"
|
||||
},
|
||||
"umask": {
|
||||
"type": "integer"
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "integer"
|
||||
}
|
||||
]
|
||||
},
|
||||
"replaces": {
|
||||
"items": {
|
||||
|
Loading…
Reference in New Issue
Block a user