1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-13 13:48:40 +02:00

concurrency fix

This commit is contained in:
Carlos Alexandro Becker 2017-01-30 14:53:21 -02:00
parent e1b2d240ac
commit 0f2f8dd1a1
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -44,13 +44,9 @@ func (Pipe) Run(ctx *context.Context) error {
continue
}
archive := ctx.Archives["linux"+goarch]
arch := goarchToUnix[goarch]
g.Go(func() error {
return create(
ctx,
format,
archive,
goarchToUnix[goarch],
)
return create(ctx, format, archive, arch)
})
}
}