1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-24 04:16:27 +02:00

fix: improved docker pipe output

This commit is contained in:
Carlos Alexandro Becker 2017-12-25 23:30:39 -02:00
parent ca35acf434
commit d96d321c79
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -92,11 +92,10 @@ func doRun(ctx *context.Context) error {
),
).List()
if len(binaries) == 0 {
log.Warn("no binaries found")
log.Warnf("no binaries found for %s", docker.Binary)
}
for _, binary := range binaries {
var err = process(ctx, docker, binary)
if err != nil {
if err := process(ctx, docker, binary); err != nil {
return err
}
}