mirror of https://github.com/laurent22/joplin.git
Tools: Exit with error code 1 when macOS notarization fails
parent
96931877cf
commit
6cbdad0690
|
@ -56,6 +56,7 @@ module.exports = async function(params) {
|
|||
console.log('.');
|
||||
}, 60000);
|
||||
|
||||
try {
|
||||
await electron_notarize.notarize({
|
||||
appBundleId: appId,
|
||||
appPath: appPath,
|
||||
|
@ -76,6 +77,10 @@ module.exports = async function(params) {
|
|||
// xcrun altool --list-providers -u APPLE_ID -p APPLE_ID_PASSWORD
|
||||
ascProvider: process.env.APPLE_ASC_PROVIDER,
|
||||
});
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
clearInterval(waitingIntervalId);
|
||||
|
||||
|
|
Loading…
Reference in New Issue