1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-22 04:08:49 +02:00

fix: change defaults order

This commit is contained in:
Carlos Alexandro Becker 2018-11-25 17:30:30 -02:00 committed by Carlos Alexandro Becker
parent e794eaf67f
commit 18efb4a5c2
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ import (
"github.com/pkg/errors"
)
// Pipe for brew deployment
// Pipe that sets up git state
type Pipe struct{}
func (Pipe) String() string {

View File

@ -33,10 +33,10 @@ type Piper interface {
// Pipeline contains all pipe implementations in order
// nolint: gochecknoglobals
var Pipeline = []Piper{
defaults.Pipe{}, // load default configs
before.Pipe{}, // run global hooks before build
dist.Pipe{}, // ensure ./dist is clean
git.Pipe{}, // get and validate git repo state
defaults.Pipe{}, // load default configs
dist.Pipe{}, // ensure ./dist is clean
effectiveconfig.Pipe{}, // writes the actual config (with defaults et al set) to dist
changelog.Pipe{}, // builds the release changelog
env.Pipe{}, // load and validate environment variables