Skip to content
Permalink
Browse files

fix: change defaults order

  • Loading branch information...
caarlos0 committed Nov 25, 2018
1 parent e794eaf commit 18efb4a5c251f46a512b853cc36b4f38dbf862b9
Showing with 3 additions and 3 deletions.
  1. +1 −1 internal/pipe/git/git.go
  2. +2 −2 internal/pipeline/pipeline.go
@@ -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 {
@@ -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

0 comments on commit 18efb4a

Please sign in to comment.
You can’t perform that action at this time.