Skip to content

Commit cbdd444

Browse files
committed
chore: update log messages
1 parent 72a8e8b commit cbdd444

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

src/workflows/prepare.ts

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -180,16 +180,13 @@ export async function prepareWorkflow(
180180
options.globalCommitMode === "none" ? false : options.globalCommitMode,
181181
);
182182

183-
const changelogPromises = allUpdates
183+
const changelogUpdates = allUpdates.filter(
184+
(update) => update.currentVersion !== update.newVersion,
185+
);
186+
187+
const changelogPromises = changelogUpdates
184188
.map((update) => {
185189
return (async () => {
186-
if (update.currentVersion === update.newVersion) {
187-
logger.verbose(
188-
`Skipping changelog for ${update.package.name}: version unchanged (${update.newVersion})`,
189-
);
190-
return;
191-
}
192-
193190
let pkgCommits = groupedPackageCommits.get(update.package.name) || [];
194191
let globalCommits = globalCommitsPerPackage.get(update.package.name) || [];
195192
let previousVersionForChangelog: string | undefined =

0 commit comments

Comments
 (0)