mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
fix: brew strings.HasPrefix args order (#949)
Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
This commit is contained in:
parent
7e79db1cc2
commit
ba09765bfa
@ -150,7 +150,7 @@ func ghFormulaPath(folder, filename string) string {
|
||||
|
||||
func getFormat(ctx *context.Context) string {
|
||||
for _, override := range ctx.Config.Archive.FormatOverrides {
|
||||
if strings.HasPrefix("darwin", override.Goos) {
|
||||
if strings.HasPrefix(override.Goos, "darwin") {
|
||||
return override.Format
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user