mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
fix: missing Binary field
Readded it for now. Should remove it someday as it is deprecated
This commit is contained in:
parent
66e8f98735
commit
0d9da86624
@ -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)
|
||||
|
@ -1,2 +0,0 @@
|
||||
// Package snapshot provides the snapshoting functionaly to goreleaser
|
||||
package snapshot
|
@ -1,3 +1,4 @@
|
||||
// Package snapshot provides the snapshoting functionaly to goreleaser.
|
||||
package snapshot
|
||||
|
||||
import (
|
||||
|
Loading…
Reference in New Issue
Block a user