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
1 changed files with 9 additions and 10 deletions

View File

@ -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$/;