1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

copy variables

This commit is contained in:
Carlos Alexandro Becker 2016-12-30 10:01:30 -02:00
parent 4ba8843d6a
commit 92f1645499
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -22,6 +22,8 @@ func (Pipe) Work(config config.ProjectConfig) error {
var g errgroup.Group
for _, system := range config.Build.Oses {
for _, arch := range config.Build.Arches {
system := system
arch := arch
g.Go(func() error {
return create(system, arch, config)
})