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

Merge pull request #112 from goreleaser/fix

concurrency fix
This commit is contained in:
Carlos Alexandro Becker 2017-01-30 14:57:17 -02:00 committed by GitHub
commit 946a5edb75

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)
})
}
}