Skip to content

Commit

Permalink
fix: pass team id for notarization
Browse files Browse the repository at this point in the history
  • Loading branch information
siepra committed Nov 17, 2023
1 parent e77790a commit ab86fc0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ jobs:
CSC_LINK: ${{ secrets.MAC_CSC_LINK }}
APPLEID: ${{ secrets.APPLE_ID }}
APPLEIDPASS: ${{ secrets.APPLE_ID_PASS }}
TEAMID: ${{ secrets.APPLE_TEAM_ID }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
USE_HARD_LINKS: false
Expand Down
4 changes: 3 additions & 1 deletion packages/desktop/scripts/notarize.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ exports.default = async function notarizing(context) {
console.log('notarization start')
try {
const response = await notarize({
tool: 'notarytool',
appBundleId: 'com.yourcompany.yourAppId',
appPath: `${appOutDir}/${appName}.app`,
appleId: process.env.APPLEID,
appleIdPassword: process.env.APPLEIDPASS
appleIdPassword: process.env.APPLEIDPASS,
teamId: process.env.TEAMID
})
console.log('notarization done')
return response
Expand Down

0 comments on commit ab86fc0

Please sign in to comment.