diff --git a/pipeline/build/name.go b/pipeline/build/name.go index 921ffafc8..055d576bf 100644 --- a/pipeline/build/name.go +++ b/pipeline/build/name.go @@ -15,13 +15,14 @@ func nameFor(ctx *context.Context, target buildtarget.Target, name string) (stri return "", err } data := struct { - Os, Arch, Arm, Version, Tag, ProjectName string + Os, Arch, Arm, Version, Tag, Binary, ProjectName string }{ Os: replace(ctx.Config.Archive.Replacements, target.OS), Arch: replace(ctx.Config.Archive.Replacements, target.Arch), Arm: replace(ctx.Config.Archive.Replacements, target.Arm), Version: ctx.Version, Tag: ctx.Git.CurrentTag, + Binary: name, // TODO: deprecated: remove this sometime ProjectName: name, } err = t.Execute(&out, data) diff --git a/pipeline/snapshot/package.go b/pipeline/snapshot/package.go deleted file mode 100644 index b0a966baa..000000000 --- a/pipeline/snapshot/package.go +++ /dev/null @@ -1,2 +0,0 @@ -// Package snapshot provides the snapshoting functionaly to goreleaser -package snapshot diff --git a/pipeline/snapshot/snapshot.go b/pipeline/snapshot/snapshot.go index 688d08cad..b3e73960d 100644 --- a/pipeline/snapshot/snapshot.go +++ b/pipeline/snapshot/snapshot.go @@ -1,3 +1,4 @@ +// Package snapshot provides the snapshoting functionaly to goreleaser. package snapshot import (