Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fix: adding apple teamid

Ilian Sapundshiev71c45f847f20
diff --git a/.erb/scripts/notarize.js b/.erb/scripts/notarize.js
index bfc5b2768..537f25e02 100644
--- a/.erb/scripts/notarize.js
+++ b/.erb/scripts/notarize.js
@@ -13,10 +13,14 @@ exports.default = async function notarizeMacos(context) {
// }
if (
- !('APPLE_ID' in process.env && 'APPLE_APP_SPECIFIC_PASSWORD' in process.env)
+ !(
+ 'APPLE_ID' in process.env &&
+ 'APPLE_APP_SPECIFIC_PASSWORD' in process.env &&
+ 'APPLE_TEAMID' in process.env
+ )
) {
console.warn(
- 'Skipping notarizing step. APPLE_ID and APPLE_APP_SPECIFIC_PASSWORD env variables must be set',
+ 'Skipping notarizing step. APPLE_ID, APPEL_TEAMID and APPLE_APP_SPECIFIC_PASSWORD env variables must be set',
);
return;
}
@@ -27,6 +31,7 @@ exports.default = async function notarizeMacos(context) {
appBundleId: build.appId,
appPath: `${appOutDir}/${appName}.app`,
appleId: process.env.APPLE_ID,
+ teamId: process.env.APPLE_TEAMID,
appleIdPassword: process.env.APPLE_APP_SPECIFIC_PASSWORD,
});
};