fix(aidocs_classes): Fix changelog format to remove extra newline

This commit is contained in:
Philipp Kunz 2024-06-23 23:58:31 +02:00
parent 94a066247f
commit 01e6c15626
3 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,10 @@
# Changelog
## 2024-06-23 - 1.3.10 - fix(aidocs_classes)
Fix changelog format to remove extra newline
- Updated `ts/aidocs_classes/commit.ts` to fix the changelog format.
## 2024-06-23 - 1.3.9 - fix(aidoc)
Fix changelog generation by properly stripping markdown code fences

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@git.zone/tsdoc',
version: '1.3.9',
version: '1.3.10',
description: 'An advanced TypeScript documentation tool using AI to generate and enhance documentation for TypeScript projects.'
}

View File

@ -120,7 +120,7 @@ ${JSON.stringify(commitMessages, null, 2)}
let newChangelog = `# Changelog\n\n${`## ${newDateString} - {{nextVersion}} - {{nextVersionScope}}
{{nextVersionMessage}}
{{nextVersionDetails}}`}\n\n${oldChangelog}`;
{{nextVersionDetails}}`}\n${oldChangelog}`;
resultObject.changelog = newChangelog;
return resultObject;