mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-20 03:59:26 +02:00
52cf951c30
* feat: krew support * fix: adds it to the pipe * chore: fmt * test: improvements * fix: rm unused code * fix: stringer * fix: tmpl * test: improvements * fix: lint issues * fix: only allow 1 binary per archive * fix: validate * chore: comment * fix: renamed to manifest * fix: krew plugin manifest * fix: name * fix: godoc * fix: install validate-krew-manifest on ci * fix: helper * fix: ensure order * fix: testing * docs: guidelines * fix: flag
84 lines
2.7 KiB
Go
84 lines
2.7 KiB
Go
// Package defaults make the list of Defaulter implementations available
|
|
// so projects extending GoReleaser are able to use it, namely, GoDownloader.
|
|
package defaults
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/goreleaser/goreleaser/internal/pipe/archive"
|
|
"github.com/goreleaser/goreleaser/internal/pipe/artifactory"
|
|
"github.com/goreleaser/goreleaser/internal/pipe/blob"
|
|
"github.com/goreleaser/goreleaser/internal/pipe/brew"
|
|
"github.com/goreleaser/goreleaser/internal/pipe/build"
|
|
"github.com/goreleaser/goreleaser/internal/pipe/checksums"
|
|
"github.com/goreleaser/goreleaser/internal/pipe/discord"
|
|
"github.com/goreleaser/goreleaser/internal/pipe/docker"
|
|
"github.com/goreleaser/goreleaser/internal/pipe/gofish"
|
|
"github.com/goreleaser/goreleaser/internal/pipe/gomod"
|
|
"github.com/goreleaser/goreleaser/internal/pipe/krew"
|
|
"github.com/goreleaser/goreleaser/internal/pipe/linkedin"
|
|
"github.com/goreleaser/goreleaser/internal/pipe/mattermost"
|
|
"github.com/goreleaser/goreleaser/internal/pipe/milestone"
|
|
"github.com/goreleaser/goreleaser/internal/pipe/nfpm"
|
|
"github.com/goreleaser/goreleaser/internal/pipe/project"
|
|
"github.com/goreleaser/goreleaser/internal/pipe/reddit"
|
|
"github.com/goreleaser/goreleaser/internal/pipe/release"
|
|
"github.com/goreleaser/goreleaser/internal/pipe/scoop"
|
|
"github.com/goreleaser/goreleaser/internal/pipe/sign"
|
|
"github.com/goreleaser/goreleaser/internal/pipe/slack"
|
|
"github.com/goreleaser/goreleaser/internal/pipe/smtp"
|
|
"github.com/goreleaser/goreleaser/internal/pipe/snapcraft"
|
|
"github.com/goreleaser/goreleaser/internal/pipe/snapshot"
|
|
"github.com/goreleaser/goreleaser/internal/pipe/sourcearchive"
|
|
"github.com/goreleaser/goreleaser/internal/pipe/teams"
|
|
"github.com/goreleaser/goreleaser/internal/pipe/telegram"
|
|
"github.com/goreleaser/goreleaser/internal/pipe/twitter"
|
|
"github.com/goreleaser/goreleaser/internal/pipe/universalbinary"
|
|
"github.com/goreleaser/goreleaser/pkg/context"
|
|
)
|
|
|
|
// Defaulter can be implemented by a Piper to set default values for its
|
|
// configuration.
|
|
type Defaulter interface {
|
|
fmt.Stringer
|
|
|
|
// Default sets the configuration defaults
|
|
Default(ctx *context.Context) error
|
|
}
|
|
|
|
// Defaulters is the list of defaulters.
|
|
// nolint: gochecknoglobals
|
|
var Defaulters = []Defaulter{
|
|
snapshot.Pipe{},
|
|
release.Pipe{},
|
|
project.Pipe{},
|
|
gomod.Pipe{},
|
|
build.Pipe{},
|
|
universalbinary.Pipe{},
|
|
sourcearchive.Pipe{},
|
|
archive.Pipe{},
|
|
nfpm.Pipe{},
|
|
snapcraft.Pipe{},
|
|
checksums.Pipe{},
|
|
sign.Pipe{},
|
|
sign.DockerPipe{},
|
|
docker.Pipe{},
|
|
docker.ManifestPipe{},
|
|
artifactory.Pipe{},
|
|
blob.Pipe{},
|
|
brew.Pipe{},
|
|
krew.Pipe{},
|
|
gofish.Pipe{},
|
|
scoop.Pipe{},
|
|
discord.Pipe{},
|
|
reddit.Pipe{},
|
|
slack.Pipe{},
|
|
teams.Pipe{},
|
|
twitter.Pipe{},
|
|
smtp.Pipe{},
|
|
mattermost.Pipe{},
|
|
milestone.Pipe{},
|
|
linkedin.Pipe{},
|
|
telegram.Pipe{},
|
|
}
|