in scripts/release.js [167:176]
function publishPackage(oneTimePassword) {
const publishCommand = oneTimePassword ? `npm publish --otp=${oneTimePassword}` : 'npm publish';
let result = exec(publishCommand, {
cwd: OUT_DIR
}).toString().toLowerCase().trim();
// Due to https://github.com/nodejs/node-v0.x-archive/issues/2318
// we can't take advantage of spawnSync and read the exitCode.
return result.indexOf('failed') === -1;
}