1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

fix(winget): schema

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker 2024-01-04 22:43:02 -03:00
parent 75c23abdca
commit 0becc41508
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
2 changed files with 3 additions and 3 deletions

View File

@ -317,8 +317,8 @@ func (a *NixDependency) UnmarshalYAML(unmarshal func(interface{}) error) error {
}
type Winget struct {
Name string `yaml:"name,omitempty" json:"name,omitempty"`
PackageIdentifier string `yaml:"package_identifier" json:"package_identifier"`
Name string `yaml:"name" json:"name"`
PackageIdentifier string `yaml:"package_identifier,omitempty" json:"package_identifier,omitempty"`
Publisher string `yaml:"publisher" json:"publisher"`
PublisherURL string `yaml:"publisher_url,omitempty" json:"publisher_url,omitempty"`
PublisherSupportURL string `yaml:"publisher_support_url,omitempty" json:"publisher_support_url,omitempty"`

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

@ -3559,7 +3559,7 @@
"additionalProperties": false,
"type": "object",
"required": [
"package_identifier",
"name",
"publisher",
"repository",
"short_description",