Skip to content

Commit

Permalink
fixing goreleaser gon integration (17)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrslv committed Mar 7, 2022
1 parent 81c491d commit 5af2d3e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
15 changes: 12 additions & 3 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,25 @@ builds:
# - 386
# - amd64
# - arm64
- id: binocs-macos
- id: binocs-macos-amd64
binary: binocs
goos:
- darwin
goarch:
- amd64
hooks:
post:
- cmd: 'gon -log-level=debug -log-json gon.amd64.json'
output: true
- id: binocs-macos-arm64
binary: binocs
goos:
- darwin
goarch:
# - amd64
- arm64
hooks:
post:
- cmd: 'gon -log-level=debug -log-json gon.{{ .Arch }}.json'
- cmd: 'gon -log-level=debug -log-json gon.arm64.json'
output: true
archives:
- format: binary
Expand Down
4 changes: 2 additions & 2 deletions gon.amd64.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"source": [
"./dist/binocs-macos_darwin_amd64/binocs"
"./dist/binocs-macos-amd64_darwin_amd64/binocs"
],
"bundle_id": "sh.binocs.macos",
"apple_id": {
Expand All @@ -11,6 +11,6 @@
"application_identity" : "586F6651E48ABDA71C8F6E1BD195E65377C337C6"
},
"zip": {
"output_path": "./dist/binocs-macos_darwin_amd64/binocs.zip"
"output_path": "./dist/binocs-macos-amd64_darwin_amd64/binocs.zip"
}
}
4 changes: 2 additions & 2 deletions gon.arm64.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"source": [
"./dist/binocs-macos_darwin_arm64/binocs"
"./dist/binocs-macos-arm64_darwin_arm64/binocs"
],
"bundle_id": "sh.binocs.macos",
"apple_id": {
Expand All @@ -11,6 +11,6 @@
"application_identity" : "586F6651E48ABDA71C8F6E1BD195E65377C337C6"
},
"zip": {
"output_path": "./dist/binocs-macos_darwin_arm64/binocs.zip"
"output_path": "./dist/binocs-macos-arm64_darwin_arm64/binocs.zip"
}
}

0 comments on commit 5af2d3e

Please sign in to comment.