More gracefully handle code signing failure
This commit is contained in:
parent
9bf900661b
commit
47b3713974
5
cli.js
5
cli.js
|
@ -90,7 +90,10 @@ ee.on('finish', () => {
|
|||
|
||||
ora.info(`Code signing identity: ${match[1]}`).start();
|
||||
ora.succeed('DMG created');
|
||||
}).catch(ora.fail.bind(ora));
|
||||
}).catch(err => {
|
||||
ora.fail(`Code signing failed. The DMG is fine, just not code signed.\n${err.stderr.trim()}`);
|
||||
process.exit(1);
|
||||
});
|
||||
});
|
||||
|
||||
ee.on('error', err => {
|
||||
|
|
Loading…
Reference in New Issue