From 168d8c364e716d938a9d1f86cf5a35641706d994 Mon Sep 17 00:00:00 2001 From: Md Irshad Ansari Date: Tue, 26 Dec 2023 13:14:38 +0530 Subject: [PATCH] feat: updated macos notarization --- .github/workflows/build.yml | 7 +++++++ cysync/forge.config.js | 4 +++- cysync/release_notes.json | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 13620b76..99abc094 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -86,6 +86,12 @@ jobs: - uses: actions/checkout@v3 with: submodules: "recursive" + + - name: Initialize Python 3.10 + uses: actions/setup-python@v1 + with: + python-version: 3.10 + - name: Install the Apple certificate and provisioning profile env: BUILD_CERTIFICATE_BASE64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }} @@ -107,6 +113,7 @@ jobs: env: APPLE_ID: ${{ secrets.APPLE_ID }} APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} + APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} run: | # arch -arm64 ./scripts/build-mac.sh arch -x86_64 ./scripts/build-mac.sh diff --git a/cysync/forge.config.js b/cysync/forge.config.js index 412d02fd..97241b13 100644 --- a/cysync/forge.config.js +++ b/cysync/forge.config.js @@ -120,8 +120,10 @@ const config = { if (process.env.APPLE_ID && process.env.APPLE_ID_PASSWORD) { config.packagerConfig.osxNotarize = { + tool: 'notarytool', appleId: process.env.APPLE_ID, - appleIdPassword: process.env.APPLE_ID_PASSWORD + appleIdPassword: process.env.APPLE_ID_PASSWORD, + teamId: process.env.APPLE_TEAM_ID }; } diff --git a/cysync/release_notes.json b/cysync/release_notes.json index 064e77b9..fb1943f4 100644 --- a/cysync/release_notes.json +++ b/cysync/release_notes.json @@ -1,3 +1,3 @@ { "notes": "# v1.2.260\n\n### ⚠️ Notice\n\n- Added Near API deprecation notice\n\n# v1.2.259\n\n### 🚀 Features\n\n- WalletConnect v2 support\n\n# v1.2.10\n\n### 🚀 Features\n\n- Token Support for EVM chains\n\n### 🐛 Bugfixes\n\n- Fixed price update issues\n- Internal transactions for EVM\n- L1 fee for Optimism\n- Fixed AutoLock toggle\n- Removed support for Harmony and Ethereum classic\n\n# v1.1.786\n\n### 🚀 Features\n\n- Support for Arbitrum One and Optimism\n- WalletConnect support\n\n# v1.1.282\n\n### 🐛 Bugfixes\n\n- Bugfixes for Bitcoin legacy\n\n# v1.1.281\n\n### 🚀 Features\n\n- Multi account support is here\n\n### 🌟 Improvements\n\n- Improved auto update\n" -} +}