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

fix(nfpm): improve logs

This commit is contained in:
Carlos Alexandro Becker 2019-03-19 21:44:53 -03:00
parent d91a3239ec
commit ec5dfaf9d8
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -101,7 +101,7 @@ func create(ctx *context.Context, format, arch string, binaries []artifact.Artif
for k, v := range overrided.Files {
files[k] = v
}
var log = log.WithField("package", name+"."+format)
var log = log.WithField("package", name+"."+format).WithField("arch", arch)
for _, binary := range binaries {
src := binary.Path
dst := filepath.Join(ctx.Config.NFPM.Bindir, binary.Name)