Skip to content

Commit

Permalink
Merge pull request #445 from openziti/apple-signing
Browse files Browse the repository at this point in the history
update goreleaser to user apple notarytool over archived gon (#435)
  • Loading branch information
michaelquigley authored Nov 7, 2023
2 parents b25b15e + afaf7b1 commit 92cd24e
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .goreleaser-darwin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ builds:
goarch:
- amd64
hooks:
post: gon -log-level=info build/gon-amd64.hcl
post:
- cmd: 'codesign -s "Developer ID Application: NetFoundry Inc" -v dist/zrok-amd64_darwin_amd64_v1/zrok --options=runtime'
output: true
- cmd: zip "dist/zrok-amd64_darwin_amd64_v1/zrok.zip" dist/zrok-amd64_darwin_amd64_v1/zrok
- cmd: xcrun notarytool submit "dist/zrok-amd64_darwin_amd64_v1/zrok.zip" --apple-id {{ .Env.AC_USERNAME }} --password {{ .Env.AC_PASSWORD }} --team-id MN5S649TXM --wait
output: true

- id: zrok-arm64
main: ./cmd/zrok
Expand All @@ -23,4 +28,9 @@ builds:
goarch:
- arm64
hooks:
post: gon -log-level=info build/gon-arm64.hcl
post:
- cmd: 'codesign -s "Developer ID Application: NetFoundry Inc" -v dist/zrok-arm64_darwin_arm64/zrok --options=runtime'
output: true
- cmd: zip "dist/zrok-arm64_darwin_arm64/zrok.zip" dist/zrok-arm64_darwin_arm64/zrok
- cmd: xcrun notarytool submit "dist/zrok-arm64_darwin_arm64/zrok.zip" --apple-id {{ .Env.AC_USERNAME }} --password {{ .Env.AC_PASSWORD }} --team-id MN5S649TXM --wait
output: true

0 comments on commit 92cd24e

Please sign in to comment.