1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-10-30 23:58:09 +02:00
Files
goreleaser/pipeline/valid/valid.go
Jorin Vogel 37034012c4 Default value for repo option.
It's loaded from Git config.
Thanks @caarlos0 for implementing remoteRepo func!
2017-01-14 19:12:20 +01:00

24 lines
382 B
Go

package valid
import (
"errors"
"github.com/goreleaser/releaser/context"
)
// Pipe for brew deployment
type Pipe struct{}
// Name of the pipe
func (Pipe) Description() string {
return "Validating configuration..."
}
// Run the pipe
func (Pipe) Run(ctx *context.Context) (err error) {
if ctx.Config.BinaryName == "" {
return errors.New("missing binary_name")
}
return
}