mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
feat(pipeline): change the pipeline order to support additional template variables in the before pipe (#1711)
This change allows us to use all the template variables in the named templates in the before hook. Issue: GH-1710 Co-authored-by: Ryan Currah <ryan.currah@crowdstrike.com>
This commit is contained in:
parent
b0d8ba8fcd
commit
05f07a4d9a
@ -37,10 +37,10 @@ type Piper interface {
|
||||
// BuildPipeline contains all build-related pipe implementations in order
|
||||
// nolint:gochecknoglobals
|
||||
var BuildPipeline = []Piper{
|
||||
before.Pipe{}, // run global hooks before build
|
||||
env.Pipe{}, // load and validate environment variables
|
||||
git.Pipe{}, // get and validate git repo state
|
||||
semver.Pipe{}, // parse current tag to a semver
|
||||
before.Pipe{}, // run global hooks before build
|
||||
defaults.Pipe{}, // load default configs
|
||||
snapshot.Pipe{}, // snapshot version handling
|
||||
dist.Pipe{}, // ensure ./dist is clean
|
||||
|
Loading…
x
Reference in New Issue
Block a user