refactor: use a local changelog

This commit is contained in:
doprz
2025-10-15 12:22:59 -05:00
parent e0067f8a76
commit e13722820b
4 changed files with 433 additions and 363 deletions

View File

@@ -30,7 +30,7 @@ interface Props {
* @returns A promise that resolves when the changelog is generated.
* @throws If there is an error generating the changelog.
*/
async function generateChangelog({ preset, outFile = 'CHANGELOG.md', releaseCount = 1 }: Props): Promise<void> {
async function generateChangelog({ preset, outFile = 'CHANGELOG-local.md', releaseCount = 1 }: Props): Promise<void> {
try {
// Run the conventional-changelog command to generate changelog
const { stdout, stderr } = await execPromise(