mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-06 03:13:48 +02:00
fix: scoop binary names (#1420)
This commit is contained in:
parent
1cf9100ecc
commit
dec22cf0c8
@ -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
|
||||
}
|
||||
|
@ -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",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user