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

revert unintended change

This commit is contained in:
Carlos Alexandro Becker 2017-07-16 15:23:29 -03:00
parent 871a615c06
commit 46501ba697
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -48,10 +48,11 @@ func doRun(ctx *context.Context, client client.Client) error {
log.Warn("skipped because release is marked as draft")
return nil
}
if ctx.Config.Archive.Format == "binary" { //} && len(ctx.Config.Builds) > 1 {
log.Warn("brew formulas can't be generated with multiple builds released in binary format")
if ctx.Config.Archive.Format == "binary" {
log.Warn("skipped because archive format is binary")
return nil
}
var group = ctx.Binaries["darwinamd64"]
if group == nil {
return ErrNoDarwin64Build