mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-24 04:16:27 +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) {
|
func nameFor(ctx *context.Context, target buildtarget.Target, name string) (string, error) {
|
||||||
var out bytes.Buffer
|
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 {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user