You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-12-22 00:27:46 +02:00
chore: improved log output
This commit is contained in:
committed by
Carlos Alexandro Becker
parent
6c79a6c51a
commit
9628eb8f89
@@ -89,7 +89,8 @@ func create(ctx *context.Context, binaries []artifact.Artifact) error {
|
||||
return fmt.Errorf("failed to create directory %s: %s", archivePath, err.Error())
|
||||
}
|
||||
defer archiveFile.Close() // nolint: errcheck
|
||||
log.WithField("archive", archivePath).Info("creating")
|
||||
var log = log.WithField("archive", archivePath)
|
||||
log.Info("creating")
|
||||
var a = archive.New(archiveFile)
|
||||
defer a.Close() // nolint: errcheck
|
||||
|
||||
|
||||
Reference in New Issue
Block a user