mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
fix: improve schema for signs (#3603)
adds all the options allowed in the `artifacts` field to the schema Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
parent
50bd78439c
commit
e72ab30ac8
@ -686,7 +686,7 @@ type Sign struct {
|
||||
Cmd string `yaml:"cmd,omitempty" json:"cmd,omitempty"`
|
||||
Args []string `yaml:"args,omitempty" json:"args,omitempty"`
|
||||
Signature string `yaml:"signature,omitempty" json:"signature,omitempty"`
|
||||
Artifacts string `yaml:"artifacts,omitempty" json:"artifacts,omitempty"`
|
||||
Artifacts string `yaml:"artifacts,omitempty" json:"artifacts,omitempty" jsonschema:"enum=all,enum=manifests,enum=images,enum=checksum,enum=source,enum=package,enum=archive,enum=binary,enum=sbom"`
|
||||
IDs []string `yaml:"ids,omitempty" json:"ids,omitempty"`
|
||||
Stdin *string `yaml:"stdin,omitempty" json:"stdin,omitempty"`
|
||||
StdinFile string `yaml:"stdin_file,omitempty" json:"stdin_file,omitempty"`
|
||||
|
13
www/docs/static/schema.json
generated
vendored
13
www/docs/static/schema.json
generated
vendored
@ -2293,7 +2293,18 @@
|
||||
"type": "string"
|
||||
},
|
||||
"artifacts": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"all",
|
||||
"manifests",
|
||||
"images",
|
||||
"checksum",
|
||||
"source",
|
||||
"package",
|
||||
"archive",
|
||||
"binary",
|
||||
"sbom"
|
||||
]
|
||||
},
|
||||
"ids": {
|
||||
"items": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user