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

removed logs

This commit is contained in:
Carlos Alexandro Becker 2017-04-08 21:55:45 -03:00
parent 020a4214be
commit 8da2def47a
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
2 changed files with 0 additions and 3 deletions

View File

@ -76,7 +76,6 @@ func build(name, goos, goarch string, ctx *context.Context) error {
if err != nil {
return err
}
log.Println(flags)
cmd = append(cmd, "-ldflags="+flags, "-o", output, ctx.Config.Build.Main)
if err := run(goos, goarch, cmd); err != nil {
return err

View File

@ -2,7 +2,6 @@ package build
import (
"bytes"
"log"
"text/template"
"time"
@ -21,7 +20,6 @@ func ldflags(ctx *context.Context) (string, error) {
Version: ctx.Git.CurrentTag,
Date: time.Now().Format("2006-01-02_15:04:05"),
}
log.Println(ctx.Git)
var out bytes.Buffer
t, err := template.New("ldflags").Parse(ctx.Config.Build.Ldflags)
if err != nil {