Skip to content

Commit

Permalink
fix(prepare): allow shouldPrepare callback to run during --dry-run (#947
Browse files Browse the repository at this point in the history
)
  • Loading branch information
incredimike committed Mar 9, 2021
1 parent 4880d97 commit 8602ba0
Showing 1 changed file with 0 additions and 5 deletions.
Expand Up @@ -13,7 +13,6 @@ export default async ({
nextVersion,
revisionRange,
dir,
dryRun,
}) =>
await runStep(
{
Expand All @@ -22,10 +21,6 @@ export default async ({
},
async () => {
const { shouldPrepare } = config;
if (dryRun) {
print(`-> execute ${info('shouldPrepare()')} callback.`);
return;
}
const releaseTag = getReleaseTag(nextVersion);
const commits = getCommitTitles(revisionRange, dir);
const { numbers: commitNumbersPerType } = getCommitNumbersPerType(
Expand Down

0 comments on commit 8602ba0

Please sign in to comment.