From 4a011b71d96309330e6b5cc93c56615a425f978b Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Sat, 4 Dec 2021 00:07:19 +0100 Subject: [PATCH] Don't notarize releases in parallel --- ts/build/notarize.ts | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/ts/build/notarize.ts b/ts/build/notarize.ts index e50938f4c1..f3d4b008ea 100644 --- a/ts/build/notarize.ts +++ b/ts/build/notarize.ts @@ -54,16 +54,15 @@ async function go() { console.log(` primaryBundleId: ${appBundleId}`); console.log(` username: ${appleId}`); - await Promise.all( - appPaths.map(async appPath => { - return notarize({ - appBundleId, - appPath, - appleId, - appleIdPassword, - }); - }) - ); + for (const appPath of appPaths) { + // eslint-disable-next-line no-await-in-loop + await notarize({ + appBundleId, + appPath, + appleId, + appleIdPassword, + }); + } } const IS_DMG = /\.dmg$/;