Skip to content

Commit

Permalink
Reenable notarization
Browse files Browse the repository at this point in the history
  • Loading branch information
hhanh00 committed Jul 1, 2024
1 parent 7404113 commit 41fe96a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,14 @@ jobs:
security import ./macos/certs/codesign.p12 -k $HOME/build.keychain -P $CERT_PWD -T /usr/bin/codesign
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k R5qx5GGokNBm $HOME/build.keychain
/usr/bin/codesign --force -s "Developer ID Application: Ycash Foundation (8VSA3BX4D8)" --deep --options runtime build/macos/Build/Products/Release/ywallet.app -v
# - name: Notarize
# env:
# NOTARIZATION_PWD: ${{ secrets.MACOS_NOTARIZATION_PWD }}
# run: |
# xcrun notarytool store-credentials "notarytool-profile" --apple-id "[email protected]" --team-id "8VSA3BX4D8" --password "$NOTARIZATION_PWD"
# ditto -c -k --keepParent "build/macos/Build/Products/Release/ywallet.app" "notarization.zip"
# xcrun notarytool submit "notarization.zip" --keychain-profile "notarytool-profile" --wait
# xcrun stapler staple "build/macos/Build/Products/Release/ywallet.app"
- name: Notarize
env:
NOTARIZATION_PWD: ${{ secrets.MACOS_NOTARIZATION_PWD }}
run: |
xcrun notarytool store-credentials "notarytool-profile" --apple-id "[email protected]" --team-id "8VSA3BX4D8" --password "$NOTARIZATION_PWD"
ditto -c -k --keepParent "build/macos/Build/Products/Release/ywallet.app" "notarization.zip"
xcrun notarytool submit "notarization.zip" --keychain-profile "notarytool-profile" --wait
xcrun stapler staple "build/macos/Build/Products/Release/ywallet.app"
- name: Install python
uses: actions/setup-python@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.6.2+544
version: 1.6.2+545

environment:
sdk: ">=3.0.0 <4.0.0"
Expand Down

0 comments on commit 41fe96a

Please sign in to comment.