You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-09-16 09:26:52 +02:00
fix: lint issue
I was shadowing binaryName
This commit is contained in:
committed by
Carlos Alexandro Becker
parent
0c91f6e210
commit
208ab4df23
@@ -108,7 +108,8 @@ func doBuild(ctx *context.Context, build config.Build, target buildtarget.Target
|
||||
var binaryName = build.Binary + ext.For(target)
|
||||
var prettyName = binaryName
|
||||
if ctx.Config.Archive.Format == "binary" {
|
||||
binaryName, err := nameFor(ctx, target, build.Binary)
|
||||
var err error
|
||||
binaryName, err = nameFor(ctx, target, build.Binary)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user