fix(changelog): Fix changelog generation by properly stripping markdown code fences
This commit is contained in:
parent
d7bf45f6b5
commit
07f1413d5e
@ -1,5 +1,11 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2024-06-23 - 1.3.8 - fix(changelog)
|
||||||
|
Fix changelog generation by properly stripping markdown code fences
|
||||||
|
|
||||||
|
- Corrected the changelog generation code to ensure markdown code fences are properly stripped.
|
||||||
|
|
||||||
|
|
||||||
## 2024-06-23 - 1.3.7 - fix(aidoc)
|
## 2024-06-23 - 1.3.7 - fix(aidoc)
|
||||||
Update to include package-lock.json in uncommitted changes check
|
Update to include package-lock.json in uncommitted changes check
|
||||||
|
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@git.zone/tsdoc',
|
name: '@git.zone/tsdoc',
|
||||||
version: '1.3.7',
|
version: '1.3.8',
|
||||||
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.'
|
||||||
}
|
}
|
||||||
|
@ -110,7 +110,7 @@ ${JSON.stringify(commitMessages, null, 2)}
|
|||||||
|
|
||||||
previousChangelog = await plugins.smartfile.SmartFile.fromString(
|
previousChangelog = await plugins.smartfile.SmartFile.fromString(
|
||||||
previousChangelogPath,
|
previousChangelogPath,
|
||||||
result2.message,
|
result2.message.replace('```markdown', '').replace('```', ''),
|
||||||
'utf8'
|
'utf8'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user