File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5656 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5757 APPLE_ID : ${{ secrets.APPLE_ID }}
5858 APPLE_ID_PASSWORD : ${{ secrets.APPLE_ID_PASSWORD }}
59+ APPLE_APP_SPECIFIC_PASSWORD : ${{ secrets.APPLE_ID_PASSWORD }}
5960 APPLE_TEAM_ID : ${{ secrets.APPLE_TEAM_ID }}
6061
6162 - name : Set Build Name ( Linux / macOS )
Original file line number Diff line number Diff line change 5555 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5656 APPLE_ID : ${{ secrets.APPLE_ID }}
5757 APPLE_ID_PASSWORD : ${{ secrets.APPLE_ID_PASSWORD }}
58+ APPLE_APP_SPECIFIC_PASSWORD : ${{ secrets.APPLE_ID_PASSWORD }}
5859 APPLE_TEAM_ID : ${{ secrets.APPLE_TEAM_ID }}
5960
6061 - name : Release Assets
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ const {notarize} = require("@electron/notarize");
33exports . default = async function notarizing ( context ) {
44 const appName = context . packager . appInfo . productFilename ;
55 const { electronPlatformName, appOutDir} = context ;
6+ console . log ( ` • Notarization Start` ) ;
67 // We skip notarization if the process is not running on MacOS and
78 // if the enviroment variable SKIP_NOTARIZE is set to `true`
89 // This is useful for local testing where notarization is useless
@@ -20,14 +21,14 @@ exports.default = async function notarizing(context) {
2021
2122 let appPath = `${ appOutDir } /${ appName } .app` ;
2223 let { APPLE_ID , APPLE_ID_PASSWORD , APPLE_TEAM_ID } = process . env ;
23- console . log ( ` • Notarizing ${ appPath } ` ) ;
24-
25- return await notarize ( {
24+ const notarizeOption = {
2625 tool : "notarytool" ,
2726 appBundleId : appId ,
2827 appPath,
2928 appleId : APPLE_ID ,
3029 appleIdPassword : APPLE_ID_PASSWORD ,
3130 teamId : APPLE_TEAM_ID ,
32- } ) ;
31+ }
32+ console . log ( ` • Notarizing` , `appPath:${ appPath } notarizeOption:${ JSON . stringify ( notarizeOption ) } ` ) ;
33+ return await notarize ( notarizeOption ) ;
3334} ;
You can’t perform that action at this time.
0 commit comments