Skip to content

Commit

Permalink
fix: run postrelease if exists
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Dec 3, 2024
1 parent 9722e76 commit 33ce4c4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion release.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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`
}
})()

0 comments on commit 33ce4c4

Please sign in to comment.