diff --git a/internal/pipe/scoop/scoop.go b/internal/pipe/scoop/scoop.go index d4dd39eb3..6d695b21d 100644 --- a/internal/pipe/scoop/scoop.go +++ b/internal/pipe/scoop/scoop.go @@ -196,7 +196,7 @@ func binaries(a *artifact.Artifact) []string { // nolint: prealloc var bins []string for _, b := range a.ExtraOr("Builds", []*artifact.Artifact{}).([]*artifact.Artifact) { - bins = append(bins, b.Name+".exe") + bins = append(bins, b.Name) } return bins } diff --git a/internal/pipe/scoop/scoop_test.go b/internal/pipe/scoop/scoop_test.go index 96ee9508f..99d205dec 100644 --- a/internal/pipe/scoop/scoop_test.go +++ b/internal/pipe/scoop/scoop_test.go @@ -825,10 +825,10 @@ func Test_buildManifest(t *testing.T) { "ArtifactUploadHash": "820ead5d9d2266c728dce6d4d55b6460", "Builds": []*artifact.Artifact{ { - Name: "foo", + Name: "foo.exe", }, { - Name: "bar", + Name: "bar.exe", }, }, }, @@ -842,10 +842,10 @@ func Test_buildManifest(t *testing.T) { "ArtifactUploadHash": "820ead5d9d2266c728dce6d4d55b6460", "Builds": []*artifact.Artifact{ { - Name: "foo", + Name: "foo.exe", }, { - Name: "bar", + Name: "bar.exe", }, }, },