fix: sign before notary

This commit is contained in:
Prateek Sunal 2024-02-13 20:22:20 +05:30
parent 63ae524352
commit e33c0d16f9

View file

@ -119,6 +119,12 @@ jobs:
flutter_distributor package --platform=macos --targets=dmg --skip-clean
mv dist/**/ente_auth-*-macos.dmg $APP_NAME.dmg
- name: Signing DMG
run: |
CERT_NAME=$(security find-identity -v -p codesigning | grep "Developer ID Application" | awk -F'"' '{print $2}' | grep -m1 "")
codesign --force --timestamp --sign "$CERT_NAME" $APP_NAME.dmg
codesign --verify --verbose=4 $APP_NAME.dmg
- name: Notarize and Staple DMG
env:
APPLE_ID: ${{ secrets.APPLE_ID }}