Skip to content

Commit 82a7944

Browse files
committed
Replace gon macos signing with notarytool
Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
1 parent 33f0daf commit 82a7944

File tree

3 files changed

+7
-23
lines changed

3 files changed

+7
-23
lines changed

.github/workflows/cli_release.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ jobs:
8787
fetch-depth: 0
8888
- name: Add pwd to git safe dir
8989
run: git config --global --add safe.directory `pwd`
90-
- name: Install gon
91-
run: brew install mitchellh/gon/gon
9290
- name: Sign CLI release
9391
env:
9492
REF: ${{ github.event.ref }}

ci/cli_merge_sign.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,13 @@ done
4848
# Create a universal binary.
4949
lipo -create -output cli_darwin_universal cli_darwin_arm64 cli_darwin_amd64
5050

51-
gon ci/gon.hcl
51+
export TEAM_ID="SZCNTABEXY"
52+
export APP_IDENTITY="Developer ID Application: Pixie Labs Inc. (${TEAM_ID})"
53+
codesign -f -v --timestamp --options runtime -s "${APP_IDENTITY}" cli_darwin_universal cli_darwin_arm64 cli_darwin_amd64
54+
55+
notarytool submit cli_darwin_universal --apple-id zasgar@gmail.com --password "${AC_PASSWD}" --team-id "${TEAM_ID}" --bundle-id ai.pixielabs.px --progress --verbose --wait
56+
notarytool submit cli_darwin_amd64 --apple-id zasgar@gmail.com --password "${AC_PASSWD}" --team-id "${TEAM_ID}" --bundle-id ai.pixielabs.px --progress --verbose --wait
57+
notarytool submit cli_darwin_arm64 --apple-id zasgar@gmail.com --password "${AC_PASSWD}" --team-id "${TEAM_ID}" --bundle-id ai.pixielabs.px --progress --verbose --wait
5258

5359
cp cli_darwin_universal "${artifacts_dir}"
5460
cp cli_darwin_amd64 "${artifacts_dir}"

ci/gon.hcl

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)