mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-19 20:57:53 +02:00
fix: typos (#743)
This commit is contained in:
parent
f2878d3b82
commit
a12a8bc25c
@ -55,7 +55,7 @@ func New(ctx *context.Context) *Template {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// WithArtifacts populate fields from the artifact and replacements
|
// WithArtifact populates fields from the artifact and replacements
|
||||||
func (t *Template) WithArtifact(a artifact.Artifact, replacements map[string]string) *Template {
|
func (t *Template) WithArtifact(a artifact.Artifact, replacements map[string]string) *Template {
|
||||||
var bin = a.Extra[binary]
|
var bin = a.Extra[binary]
|
||||||
if bin == "" {
|
if bin == "" {
|
||||||
|
@ -101,7 +101,7 @@ func TestRunPipe(t *testing.T) {
|
|||||||
"custom_download_strategy": func(ctx *context.Context) {
|
"custom_download_strategy": func(ctx *context.Context) {
|
||||||
ctx.Config.Brew.DownloadStrategy = "GitHubPrivateRepositoryReleaseDownloadStrategy"
|
ctx.Config.Brew.DownloadStrategy = "GitHubPrivateRepositoryReleaseDownloadStrategy"
|
||||||
},
|
},
|
||||||
"binary_overriden": func(ctx *context.Context) {
|
"binary_overridden": func(ctx *context.Context) {
|
||||||
ctx.Config.Archive.Format = "binary"
|
ctx.Config.Archive.Format = "binary"
|
||||||
ctx.Config.Archive.FormatOverrides = []config.FormatOverride{
|
ctx.Config.Archive.FormatOverrides = []config.FormatOverride{
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user