1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-08 03:31:59 +02:00
This commit is contained in:
Carlos Alexandro Becker 2017-06-23 19:48:52 -03:00
parent 295c7356f1
commit 9196f2efc3
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -70,7 +70,7 @@ func build(ctx *context.Context, name string, target buildTarget) error {
if ctx.Config.Archive.Format == "binary" {
output = filepath.Join(ctx.Config.Dist, name+ext.For(target.goos))
}
log.WithField("output", output).Info("building")
log.WithField("binary", output).Info("building")
cmd := []string{"go", "build"}
if ctx.Config.Build.Flags != "" {
cmd = append(cmd, strings.Fields(ctx.Config.Build.Flags)...)