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:
parent
a3a10fab37
commit
8c86228e42
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user