Skip to content

Commit e5bc4cb

Browse files
committed
ci: update changelog script
1 parent 459d5ec commit e5bc4cb

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

script/publish.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ if (!Script.preview) {
4949
- Do NOT make general statements about "improvements", be very specific about what was changed.
5050
- Do NOT include any information about code changes if they do not affect the user facing changes.
5151
- For commits that are already well-written and descriptive, avoid rewording them. Simply capitalize the first letter, fix any misspellings, and ensure proper English grammar.
52+
- DO NOT read any other commits than the ones listed above (THIS IS IMPORTANT TO AVOID DUPLICATING THINGS IN OUR CHANGELOG)
5253
5354
IMPORTANT: ONLY return a bulleted list of changes, do not include any other information. Do not include a preamble like "Based on my analysis..."
5455
@@ -67,7 +68,9 @@ if (!Script.preview) {
6768
notes.push(line)
6869
}
6970
}
70-
console.log(notes)
71+
console.log("---- Generated Changelog ----")
72+
console.log(notes.join("\n"))
73+
console.log("-----------------------------")
7174
opencode.server.close()
7275
}
7376

0 commit comments

Comments
 (0)