1
0
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:
Matt Stratton 2017-10-16 13:49:00 -05:00
parent 973356694a
commit 7d6aabe50e
No known key found for this signature in database
GPG Key ID: EF2B156510452D81

View File

@ -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