1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

fix: added skip log to s3

This commit is contained in:
Carlos Alexandro Becker 2018-09-04 09:26:08 -03:00
parent 99a9da4c3b
commit 3a4e41096f
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -49,6 +49,9 @@ func (Pipe) Run(ctx *context.Context) error {
if ctx.SkipPublish {
return pipeline.ErrSkipPublishEnabled
}
if len(ctx.Config.S3) == 0 {
return pipeline.Skip("s3 section is not configured")
}
var g = semerrgroup.New(ctx.Parallelism)
for _, conf := range ctx.Config.S3 {
conf := conf