diff --git a/scripts/sync-release-notes-from-changelog.mjs b/scripts/sync-release-notes-from-changelog.mjs index 65223b353..8f0e0fc08 100644 --- a/scripts/sync-release-notes-from-changelog.mjs +++ b/scripts/sync-release-notes-from-changelog.mjs @@ -150,7 +150,8 @@ function main() { const targetEntry = entries.find((entry) => entry.tag === targetTag); if (!targetEntry) { - throw new Error(`No matching changelog section found for ${targetTag}.`); + console.log(`No matching changelog section found for ${targetTag}. Skipping.`); + return; } const tempDir = mkdtempSync(path.join(tmpdir(), "paseo-release-notes-"));