Skip to content

Commit 447f9a4

Browse files
committed
Try to surface publish errors
1 parent ff708f9 commit 447f9a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/release/utils/publish.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ async function publishPackageInCI(
143143
childProcess.stderr?.on('data', function (data) {
144144
console.log(`[publishing ${pkg}] stderr: `, data.toString());
145145
});
146+
await spawnPromise;
147+
return spawnPromise;
146148
} catch (err) {
147149
throw err;
148150
}

0 commit comments

Comments
 (0)