mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
removed logs
This commit is contained in:
parent
020a4214be
commit
8da2def47a
@ -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
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user