Skip to content

Commit

Permalink
changeset-version skips website changelog if nothing changed
Browse files Browse the repository at this point in the history
  • Loading branch information
berekuk committed Sep 29, 2023
1 parent 80b9e31 commit 6e362c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/ops/src/scripts/changeset-version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ async function generateWebsiteChangelog() {
allChangelogs.push(changelog);
}
}
if (!allChangelogs.length) {
return;
}
const fullChangelog = combineChangelogs(allChangelogs);

await writeFile(
Expand Down

0 comments on commit 6e362c2

Please sign in to comment.