diff --git a/pipeline/fpm/fpm.go b/pipeline/fpm/fpm.go index df6888305..871e10fe5 100644 --- a/pipeline/fpm/fpm.go +++ b/pipeline/fpm/fpm.go @@ -72,7 +72,7 @@ func doRun(ctx *context.Context) error { ).GroupByPlatform() { sem <- true format := format - arch := linux.Arch(platform) // TODO: could probably pass artifact.Goarch here + arch := linux.Arch(platform) artifacts := artifacts g.Go(func() error { defer func() { diff --git a/pipeline/snapcraft/snapcraft.go b/pipeline/snapcraft/snapcraft.go index 5b7f5616c..ae0bec32a 100644 --- a/pipeline/snapcraft/snapcraft.go +++ b/pipeline/snapcraft/snapcraft.go @@ -89,7 +89,7 @@ func (Pipe) Run(ctx *context.Context) error { artifact.ByType(artifact.Binary), ), ).GroupByPlatform() { - arch := linux.Arch(platform) // TODO: could use artifact.goarch here + arch := linux.Arch(platform) binaries := binaries g.Go(func() error { return create(ctx, arch, binaries)