mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-16 03:52:12 +02:00
fix: improved publish output
This commit is contained in:
parent
5474d1ede7
commit
c449328428
@ -4,6 +4,7 @@ package publish
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/apex/log"
|
||||
"github.com/goreleaser/goreleaser/internal/pipe"
|
||||
"github.com/goreleaser/goreleaser/internal/pipe/brew"
|
||||
"github.com/goreleaser/goreleaser/internal/pipe/scoop"
|
||||
@ -37,8 +38,9 @@ func (Pipe) Run(ctx *context.Context) error {
|
||||
return pipe.ErrSkipPublishEnabled
|
||||
}
|
||||
for _, publisher := range publishers {
|
||||
log.Infof("Publishing %s...", publisher.String())
|
||||
if err := publisher.Publish(ctx); err != nil {
|
||||
return errors.Wrapf(err, "failed to publish artifacts for %s", publisher.String())
|
||||
return errors.Wrapf(err, "%s: failed to publish artifacts", publisher.String())
|
||||
}
|
||||
}
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user