You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-07-05 00:59:04 +02:00
fix: brew tmpl (#1057)
* fix: brew tmpl Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * fix: compile Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * fix: compile Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
committed by
GitHub
parent
c9546ec81b
commit
ef6e13a61b
@ -1,7 +1,6 @@
|
||||
package client
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"crypto/tls"
|
||||
"net/http"
|
||||
"net/url"
|
||||
@ -56,7 +55,7 @@ func (c *githubClient) CreateFile(
|
||||
ctx *context.Context,
|
||||
commitAuthor config.CommitAuthor,
|
||||
repo config.Repo,
|
||||
content bytes.Buffer,
|
||||
content []byte,
|
||||
path,
|
||||
message string,
|
||||
) error {
|
||||
@ -65,7 +64,7 @@ func (c *githubClient) CreateFile(
|
||||
Name: github.String(commitAuthor.Name),
|
||||
Email: github.String(commitAuthor.Email),
|
||||
},
|
||||
Content: content.Bytes(),
|
||||
Content: content,
|
||||
Message: github.String(message),
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user