Skip to content

Commit

Permalink
Fixed token required if release is disabled #1073 (#1074)
Browse files Browse the repository at this point in the history
  • Loading branch information
fheidenreich authored and caarlos0 committed Jul 8, 2019
1 parent 9d41875 commit 38e536e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/client/client.go
Expand Up @@ -2,7 +2,6 @@
package client

import (
"fmt"
"os"

"github.com/goreleaser/goreleaser/pkg/config"
Expand Down Expand Up @@ -31,5 +30,5 @@ func New(ctx *context.Context) (Client, error) {
if ctx.TokenType == context.TokenTypeGitLab {
return NewGitLab(ctx)
}
return nil, fmt.Errorf("client is not yet implemented: %s", ctx.TokenType)
return nil, nil
}

0 comments on commit 38e536e

Please sign in to comment.