fix(core): Fixed new changelog formatting issue to retain consistent spacing.

This commit is contained in:
Philipp Kunz 2024-06-23 23:59:43 +02:00
parent d7b462fda9
commit 08b7305ef0
3 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,10 @@
# Changelog # Changelog
## 2024-06-23 - 1.3.11 - fix(core)
Fixed new changelog formatting issue to retain consistent spacing.
- Adjusted the new changelog generation to ensure consistent spacing for improved readability.
## 2024-06-23 - 1.3.10 - fix(aidocs_classes) ## 2024-06-23 - 1.3.10 - fix(aidocs_classes)
Fix changelog format to remove extra newline Fix changelog format to remove extra newline

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@git.zone/tsdoc', name: '@git.zone/tsdoc',
version: '1.3.10', version: '1.3.11',
description: 'An advanced TypeScript documentation tool using AI to generate and enhance documentation for TypeScript projects.' 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}} let newChangelog = `# Changelog\n\n${`## ${newDateString} - {{nextVersion}} - {{nextVersionScope}}
{{nextVersionMessage}} {{nextVersionMessage}}
{{nextVersionDetails}}`}\n${oldChangelog}`; {{nextVersionDetails}}`}\n\n${oldChangelog}`;
resultObject.changelog = newChangelog; resultObject.changelog = newChangelog;
return resultObject; return resultObject;