Skip to content

Commit 2ce0db2

Browse files
authored
Remove cursor summary from generated changelog (tldraw#7142)
see title ### Change type - [x] `other` <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Stops including <!-- CURSOR_SUMMARY --> sections when generating the draft changelog. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit fbfa8d7. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent 42a4388 commit 2ce0db2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

internal/scripts/extract-draft-changelog.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ export async function extractChangelog(startRef: string, endRef: string): Promis
140140

141141
// Remove the Change type section and all checkboxes
142142
restOfMessage = restOfMessage
143+
// remove cursor summary
144+
.replace(/<!-- CURSOR_SUMMARY -->(.|\s)*/gm, '')
143145
// remove Change type section
144146
.replace(/### Change type[\s\n]*/g, '')
145147
// remove checkboxes

0 commit comments

Comments
 (0)