Don't notarize releases in parallel

This commit is contained in:
Fedor Indutny 2021-12-04 00:07:19 +01:00 committed by GitHub
parent e46a1979c4
commit 4a011b71d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,16 +54,15 @@ async function go() {
console.log(` primaryBundleId: ${appBundleId}`); console.log(` primaryBundleId: ${appBundleId}`);
console.log(` username: ${appleId}`); console.log(` username: ${appleId}`);
await Promise.all( for (const appPath of appPaths) {
appPaths.map(async appPath => { // eslint-disable-next-line no-await-in-loop
return notarize({ await notarize({
appBundleId, appBundleId,
appPath, appPath,
appleId, appleId,
appleIdPassword, appleIdPassword,
}); });
}) }
);
} }
const IS_DMG = /\.dmg$/; const IS_DMG = /\.dmg$/;