From e211c75830939a4c14445ca75da07ad4d7d9e288 Mon Sep 17 00:00:00 2001 From: Anton Golub Date: Wed, 4 Dec 2024 00:59:03 +0300 Subject: [PATCH] fix: fix postrelease check --- release.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.mjs b/release.mjs index 675e2c2..de8fbad 100755 --- a/release.mjs +++ b/release.mjs @@ -176,7 +176,7 @@ ${commits.join('\n')}`).join('\n') console.log(chalk.bold('Great success!')) - if (pkgJson.postrelease) { + if (pkgJson.scripts?.postrelease) { console.log('postrelease') await $`npm run postrelease` }