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

feat: docker in parallel

This commit is contained in:
Carlos Alexandro Becker 2017-12-25 23:28:09 -02:00
parent 32ca896a24
commit ca35acf434
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
2 changed files with 0 additions and 3 deletions

View File

@ -141,8 +141,6 @@ func And(filters ...Filter) Filter {
// is accepted.
// You can compose filters by using the And and Or filters.
func (artifacts *Artifacts) Filter(filter Filter) Artifacts {
// TODO: this could be done lazily and the real job could be done in the
// #List() method maybe?
var result = New()
for _, a := range artifacts.items {
if filter(a) {

View File

@ -175,7 +175,6 @@ func link(src, dest string) error {
}
func publish(ctx *context.Context, docker config.Docker, image, latest string) error {
// TODO: improve this so it can log it to stdout
if !ctx.Publish {
log.Warn("skipping push because --skip-publish is set")
return nil