diff --git a/release.mjs b/release.mjs index d6b85c2..675e2c2 100755 --- a/release.mjs +++ b/release.mjs @@ -176,5 +176,8 @@ ${commits.join('\n')}`).join('\n') console.log(chalk.bold('Great success!')) - await $`npm run postrelease || exit 0` + if (pkgJson.postrelease) { + console.log('postrelease') + await $`npm run postrelease` + } })()