mirror of
https://github.com/ever-co/ever-gauzy.git
synced 2026-10-02 01:54:50 +08:00
[Fix] Skip notarize without env (#8861)
* fix: Allows notarization to continue without env vars Changes notarization process to warn instead of throwing an error when `APPLE_ID` or `APPLE_ID_APP_PASSWORD` environment variables are missing. This allows the process to continue. * feat: adds notarization step to build process Configures electron-builder to notarize the desktop, server, and server-api applications after signing.
This commit is contained in:
@@ -55,6 +55,7 @@
|
||||
"artifactName": "${name}-${version}.${ext}",
|
||||
"productName": "Ever Gauzy Desktop",
|
||||
"copyright": "Copyright © 2019-Present. Ever Co. LTD",
|
||||
"afterSign": "tools/notarize.js",
|
||||
"dmg": {
|
||||
"sign": false
|
||||
},
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
"artifactName": "${name}-${version}.${ext}",
|
||||
"productName": "Ever Gauzy API Server",
|
||||
"copyright": "Copyright © 2019-Present. Ever Co. LTD",
|
||||
"afterSign": "tools/notarize.js",
|
||||
"dmg": {
|
||||
"sign": false
|
||||
},
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
"artifactName": "${name}-${version}.${ext}",
|
||||
"productName": "Gauzy Server",
|
||||
"copyright": "Copyright © 2019-Present. Ever Co. LTD",
|
||||
"afterSign": "tools/notarize.js",
|
||||
"dmg": {
|
||||
"sign": false
|
||||
},
|
||||
|
||||
+2
-1
@@ -22,7 +22,8 @@ exports.default = async (context) => {
|
||||
}
|
||||
|
||||
if (!APPLE_ID || !APPLE_ID_APP_PASSWORD) {
|
||||
throw new Error('`APPLE_ID` or `APPLE_ID_APP_PASSWORD` is missing');
|
||||
console.warn('WARN: `APPLE_ID` or `APPLE_ID_APP_PASSWORD` is missing');
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user