1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-29 01:44:39 +02:00

fix(winget): name is not actually required

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker 2024-03-01 11:39:54 -03:00
parent 1325d43c32
commit ec22d60b19
No known key found for this signature in database

View File

@ -315,7 +315,7 @@ func (a *NixDependency) UnmarshalYAML(unmarshal func(interface{}) error) error {
}
type Winget struct {
Name string `yaml:"name" json:"name"`
Name string `yaml:"name,omitempty" json:"name,omitempty"`
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"`