mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 23:44:59 +01:00
Merge pull request #16 from vector-im/dbkr/allow_no_notarise
Don't bail if we can't notarise
This commit is contained in:
commit
50b43bfa60
@ -10,7 +10,11 @@ exports.default = async function(context) {
|
|||||||
// from the keychain, so we need to get it from the environment.
|
// from the keychain, so we need to get it from the environment.
|
||||||
const userId = process.env.NOTARIZE_APPLE_ID;
|
const userId = process.env.NOTARIZE_APPLE_ID;
|
||||||
if (userId === undefined) {
|
if (userId === undefined) {
|
||||||
throw new Error("User ID not found. Set NOTARIZE_APPLE_ID.");
|
console.log("*************************************");
|
||||||
|
console.log("* NOTARIZE_APPLE_ID is not set. *");
|
||||||
|
console.log("* This build will NOT be notarised. *");
|
||||||
|
console.log("*************************************");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log("Notarising macOS app. This may be some time.");
|
console.log("Notarising macOS app. This may be some time.");
|
||||||
|
Loading…
Reference in New Issue
Block a user