diff --git a/pipeline/scoop/scoop.go b/pipeline/scoop/scoop.go index 3ad8d38ae..6480a31d1 100644 --- a/pipeline/scoop/scoop.go +++ b/pipeline/scoop/scoop.go @@ -7,7 +7,6 @@ import ( "errors" "fmt" - "github.com/goreleaser/goreleaser/config" "github.com/goreleaser/goreleaser/context" "github.com/goreleaser/goreleaser/internal/artifact" "github.com/goreleaser/goreleaser/internal/client" @@ -44,24 +43,6 @@ func (Pipe) Default(ctx *context.Context) error { return nil } -func isScoopBuild(build config.Build) bool { - for _, ignore := range build.Ignore { - if ignore.Goos == "windows" { - return false - } - } - return contains(build.Goos, "darwin") -} - -func contains(ss []string, s string) bool { - for _, zs := range ss { - if zs == s { - return true - } - } - return false -} - func doRun(ctx *context.Context, client client.Client) error { if ctx.Config.Scoop.Bucket.Name == "" { return pipeline.Skip("scoop section is not configured")