Skip to content

Commit d0a6298

Browse files
committed
log all with verbose flag
1 parent b58cb12 commit d0a6298

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/release/utils/publish.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,12 @@ async function publishPackageInCI(
151151
stderrText += data.toString();
152152
});
153153
await spawnPromise;
154+
if (process.env.VERBOSE_NPM_LOGGING === 'true') {
155+
console.log(`stdout for ${pkg} publish:`);
156+
console.log(stdoutText);
157+
console.log(`stderr for ${pkg} publish:`);
158+
console.error(stderrText);
159+
}
154160
return spawnPromise;
155161
} catch (err) {
156162
console.log(`Error publishing ${pkg}`);

0 commit comments

Comments
 (0)