1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

fix: actually support arm (#1140)

This commit is contained in:
Dawid Dziurla 2019-09-09 14:34:52 +02:00 committed by Carlos Alexandro Becker
parent 2c08ab87a1
commit ccbd79250e

View File

@ -122,7 +122,11 @@ func doRun(ctx *context.Context, brew config.Homebrew, client client.Client) err
artifact.ByGoos("linux"),
),
artifact.ByFormats("zip", "tar.gz"),
artifact.ByGoarch("amd64"),
artifact.Or(
artifact.ByGoarch("amd64"),
artifact.ByGoarch("arm64"),
artifact.ByGoarch("arm"),
),
artifact.ByType(artifact.UploadableArchive),
}
if len(brew.IDs) > 0 {