1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-16 03:52:12 +02:00

fix(jsonschema): missing ipk in nfpm.formats

closes #4997
This commit is contained in:
Carlos Alexandro Becker 2024-07-15 20:50:23 -03:00
parent 8089685984
commit 569295d43f
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View File

@ -763,7 +763,7 @@ type NFPM struct {
ID string `yaml:"id,omitempty" json:"id,omitempty"` ID string `yaml:"id,omitempty" json:"id,omitempty"`
Builds []string `yaml:"builds,omitempty" json:"builds,omitempty"` Builds []string `yaml:"builds,omitempty" json:"builds,omitempty"`
Formats []string `yaml:"formats,omitempty" json:"formats,omitempty" jsonschema:"enum=apk,enum=deb,enum=rpm,enum=termux.deb,enum=archlinux"` Formats []string `yaml:"formats,omitempty" json:"formats,omitempty" jsonschema:"enum=apk,enum=deb,enum=rpm,enum=termux.deb,enum=archlinux,enum=ipk"`
Section string `yaml:"section,omitempty" json:"section,omitempty"` Section string `yaml:"section,omitempty" json:"section,omitempty"`
Priority string `yaml:"priority,omitempty" json:"priority,omitempty"` Priority string `yaml:"priority,omitempty" json:"priority,omitempty"`
Vendor string `yaml:"vendor,omitempty" json:"vendor,omitempty"` Vendor string `yaml:"vendor,omitempty" json:"vendor,omitempty"`

3
www/docs/static/schema.json generated vendored
View File

@ -1815,7 +1815,8 @@
"deb", "deb",
"rpm", "rpm",
"termux.deb", "termux.deb",
"archlinux" "archlinux",
"ipk"
] ]
}, },
"type": "array" "type": "array"