mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-06-02 23:27:44 +02:00
chore: improved log output
This commit is contained in:
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user