mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
fix: wrap_in_directory type (#3158)
closes #3155 Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
parent
500190f36a
commit
1723e88dcd
@ -514,7 +514,7 @@ type Archive struct {
|
||||
Replacements map[string]string `yaml:"replacements,omitempty"`
|
||||
Format string `yaml:"format,omitempty"`
|
||||
FormatOverrides []FormatOverride `yaml:"format_overrides,omitempty"`
|
||||
WrapInDirectory string `yaml:"wrap_in_directory,omitempty"`
|
||||
WrapInDirectory string `yaml:"wrap_in_directory,omitempty" jsonschema:"oneof_type=string;boolean"`
|
||||
Files []File `yaml:"files,omitempty"`
|
||||
Meta bool `yaml:"meta,omitempty"`
|
||||
AllowDifferentBinaryCount bool `yaml:"allow_different_binary_count,omitempty"`
|
||||
|
9
www/docs/static/schema.json
generated
vendored
9
www/docs/static/schema.json
generated
vendored
@ -175,7 +175,14 @@
|
||||
"type": "array"
|
||||
},
|
||||
"wrap_in_directory": {
|
||||
"type": "string"
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "boolean"
|
||||
}
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"items": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user