Skip to content

Commit 862e0cf

Browse files
committed
fix: auto-detect codesign identity from keychain
1 parent a59c124 commit 862e0cf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/bun-compile.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ jobs:
7979
- name: Sign binary
8080
if: contains(matrix.target, 'darwin')
8181
run: |
82-
codesign --force --options runtime --sign "Developer ID Application: Augment Code Inc" ${{ matrix.output }}
82+
IDENTITY=$(security find-identity -v -p codesigning build.keychain | grep "Developer ID" | head -1 | sed 's/.*"\(.*\)".*/\1/')
83+
echo "Signing with identity: $IDENTITY"
84+
codesign --force --options runtime --sign "$IDENTITY" ${{ matrix.output }}
8385
8486
- name: Notarize binary
8587
if: contains(matrix.target, 'darwin')

0 commit comments

Comments
 (0)