From 81c7d48a33e3691e3aa6358e0c85fc03fb95259b Mon Sep 17 00:00:00 2001 From: splincode Date: Mon, 16 Sep 2024 13:43:53 +0300 Subject: [PATCH] feat: do not throw when missing script --- projects/release-it-config/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/release-it-config/index.js b/projects/release-it-config/index.js index 66b46776..713266ed 100644 --- a/projects/release-it-config/index.js +++ b/projects/release-it-config/index.js @@ -16,7 +16,7 @@ module.exports = { `npx auto-changelog -c ${changelogConfig} -p`, 'npx prettier CHANGELOG.md --write', 'git add CHANGELOG.md', - 'npm run bump', + 'npm run bump || echo "Missing script"', ], 'after:release': 'echo Successfully released ${name} v${version} to ${repo.repository}.',