mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
Remove cyclo test for Pipe Run function for now
TODO: factor all the name stuff into a function like the others, so maybe setNameDefaults(ctx), etc. Signed-off-by: Matt Stratton <matt.stratton@gmail.com>
This commit is contained in:
parent
973356694a
commit
7d6aabe50e
@ -32,7 +32,7 @@ func (Pipe) Description() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Run the pipe
|
// Run the pipe
|
||||||
func (Pipe) Run(ctx *context.Context) error {
|
func (Pipe) Run(ctx *context.Context) error { // nolint: gocyclo
|
||||||
ctx.Config.Dist = "dist"
|
ctx.Config.Dist = "dist"
|
||||||
if ctx.Config.Release.NameTemplate == "" {
|
if ctx.Config.Release.NameTemplate == "" {
|
||||||
ctx.Config.Release.NameTemplate = ReleaseNameTemplate
|
ctx.Config.Release.NameTemplate = ReleaseNameTemplate
|
||||||
|
Loading…
Reference in New Issue
Block a user