From 99ccd2dfc66c4da5a1c052eb6faa97c1a4d676cb Mon Sep 17 00:00:00 2001 From: "Simon.Nagl" Date: Mon, 1 Jun 2020 20:10:51 +0200 Subject: [PATCH] Build only amd64 for macOs --- .goreleaser.yml | 2 ++ gon.hcl | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index a94eda6..23c972c 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -14,6 +14,8 @@ builds: main: ./cmd/spell goos: - darwin + goarch: + - amd64 hooks: post: gon gon.hcl archives: diff --git a/gon.hcl b/gon.hcl index bd7642d..0bfd276 100644 --- a/gon.hcl +++ b/gon.hcl @@ -1,13 +1,12 @@ # The path follows a pattern # ./dist/BUILD-ID_TARGET/BINARY-NAME -source = ["./dist/spell-apple_darwin_amd64/spell", "./dist/spell-apple_darwin_386/spell"] +source = ["./dist/spell-apple_darwin_amd64/spell"] bundle_id = "com.github.simonnagl.spell.cmd.spell" apple_id { username = "simonnagl@aim.com" password = "@env:AC_PASSWORD" } - sign { application_identity = "Apple Development: simonnagl@aim.com" } \ No newline at end of file