mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-08 03:31:59 +02:00
merge
This commit is contained in:
parent
295c7356f1
commit
9196f2efc3
@ -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)...)
|
||||
|
Loading…
Reference in New Issue
Block a user