mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
fix: run defaults pipe before before pipe (#3198)
otherwise, before might not have some template variables, for example, the project name. not sure if this will have adverse side effects though, need to think a bit more about it. fixes #3196 Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
parent
0ccd795942
commit
187750a752
@ -50,8 +50,8 @@ var BuildPipeline = []Piper{
|
||||
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
|
||||
before.Pipe{}, // run global hooks before build
|
||||
snapshot.Pipe{}, // snapshot version handling
|
||||
dist.Pipe{}, // ensure ./dist is clean
|
||||
gomod.Pipe{}, // setup gomod-related stuff
|
||||
|
Loading…
x
Reference in New Issue
Block a user