10BC0 fix(winget): name is not actually required · goreleaser/goreleaser@ec22d60 · GitHub
[go: up one dir, main page]

Skip to content

Commit ec22d60

Browse files
committed
fix(winget): name is not actually required
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
1 parent 1325d43 commit ec22d60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ func (a *NixDependency) UnmarshalYAML(unmarshal func(interface{}) error) error {
315315
}
316316

317317
type Winget struct {
318-
Name string `yaml:"name" json:"name"`
318+
Name string `yaml:"name,omitempty" json:"name,omitempty"`
319319
PackageIdentifier string `yaml:"package_identifier,omitempty" json:"package_identifier,omitempty"`
320320
Publisher string `yaml:"publisher" json:"publisher"`
321321
PublisherURL string `yaml:"publisher_url,omitempty" json:"publisher_url,omitempty"`

0 commit comments

Comments
 (0)
0