We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 744f760 commit 7254d1dCopy full SHA for 7254d1d
src/index.js
@@ -19,7 +19,9 @@ export default async function release(options) {
19
const { rawCommits } = await gitCommitsSince(opt);
20
21
if (rawCommits.length === 0) {
22
- throw new Error('No commits since last tag.');
+ console.log('No (new) commits since last(est) tag');
23
+ proc.exit(0);
24
+ return null;
25
}
26
27
return detector(rawCommits, Object.assign({}, opt, { name: pkg.name }));
0 commit comments