1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00

fix: fixed name template

I changed it, dunno why. Lets keep changes minumum
This commit is contained in:
Carlos Alexandro Becker 2017-12-02 23:27:44 -02:00 committed by Carlos Alexandro Becker
parent a3a10fab37
commit 8c86228e42

View File

@ -10,7 +10,7 @@ import (
func nameFor(ctx *context.Context, target buildtarget.Target, name string) (string, error) {
var out bytes.Buffer
t, err := template.New(target.String()).Parse(ctx.Config.Archive.NameTemplate)
t, err := template.New(name).Parse(ctx.Config.Archive.NameTemplate)
if err != nil {
return "", err
}