mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-22 12:29:53 +00:00
fail when sign fails
This commit is contained in:
parent
58b5c21164
commit
e56403d89e
@ -31,11 +31,17 @@ builder({
|
||||
forceCodeSigning: !!keypair,
|
||||
sign: keypair ? async function (configuration) {
|
||||
if (configuration.path) {
|
||||
try {
|
||||
execSync(
|
||||
`smctl sign --keypair-alias=${keypair} --input "${String(configuration.path)}"`, {
|
||||
stdio: 'inherit'
|
||||
}
|
||||
)
|
||||
} catch (e) {
|
||||
console.error(`Failed to sign ${configuration.path}`)
|
||||
console.error(e)
|
||||
process.exit(1)
|
||||
}
|
||||
}
|
||||
} : undefined,
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user