From 2902406efa39a663bbeec406e8a17e449aac5913 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Fri, 30 Dec 2016 09:33:24 -0200 Subject: [PATCH] log --- pipeline/compress/zip.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pipeline/compress/zip.go b/pipeline/compress/zip.go index 8ed3941c5..64595a6fe 100644 --- a/pipeline/compress/zip.go +++ b/pipeline/compress/zip.go @@ -3,7 +3,6 @@ package compress import ( "archive/tar" "compress/gzip" - "fmt" "io" "log" "os" @@ -19,7 +18,6 @@ func (Pipe) Name() string { } func (Pipe) Work(config config.ProjectConfig) error { - log.Println("Creating archives...") // TODO use a errgroup here? for _, system := range config.Build.Oses { for _, arch := range config.Build.Arches { @@ -33,7 +31,7 @@ func (Pipe) Work(config config.ProjectConfig) error { func create(system, arch string, config config.ProjectConfig) error { file, err := os.Create("dist/" + nameFor(system, arch, config.BinaryName) + ".tar.gz") - fmt.Println("Creating", file.Name(), "...") + log.Println("Creating", file.Name(), "...") if err != nil { return err }