From 5c313898f4f1829f3870dd5d294c19f091cd03c2 Mon Sep 17 00:00:00 2001 From: AH-dark Date: Tue, 29 Aug 2023 20:12:31 +0800 Subject: [PATCH] fix(goreleaser): removed darwin building which miss the code signing certificate --- .goreleaser.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 29d22bc..23e0540 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -3,6 +3,7 @@ project_name: epay-cli before: hooks: - go mod tidy + builds: - id: epay-cli main: . @@ -20,17 +21,15 @@ builds: ldflags: - -s -w -X main.version={{ .Version }} -X main.commit={{ .Commit }} -X main.date={{ .Date }} goos: - - linux - - windows - - darwin + - "linux" + - "windows" goarch: - - amd64 - - arm64 - goarm: - - '5' - - '6' - - '7' - - '8' + - "amd64" + - "arm64" + - "arm" + +universal_binaries: + - id: epay-cli signs: - artifacts: checksum