mirror of
https://github.com/status-im/create-dmg.git
synced 2025-02-17 05:26:29 +00:00
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…
x
Reference in New Issue
Block a user