Skip to content

Commit

Permalink
fix: scoop binary names (#1420)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasng committed Apr 2, 2020
1 parent 1cf9100 commit dec22cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion internal/pipe/scoop/scoop.go
Expand Up @@ -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
}
8 changes: 4 additions & 4 deletions internal/pipe/scoop/scoop_test.go
Expand Up @@ -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",
},
},
},
Expand All @@ -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",
},
},
},
Expand Down

0 comments on commit dec22cf

Please sign in to comment.