mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 04:11:10 -05:00
25 lines
596 B
JavaScript
25 lines
596 B
JavaScript
// Doesn't fully work but '.github/scripts/overwrite_changeset_changelog.py' forces the changelog to be formatted in GHA
|
|
|
|
const getReleaseLine = async (changeset) => {
|
|
const [firstLine] = changeset.summary
|
|
.split('\n')
|
|
.map(l => l.trim())
|
|
.filter(Boolean);
|
|
return `- ${firstLine}`;
|
|
};
|
|
|
|
const getDependencyReleaseLine = async () => {
|
|
return '';
|
|
};
|
|
|
|
const getReleaseSummary = async (release) => {
|
|
return `## [${release.newVersion}]\n\n`;
|
|
};
|
|
|
|
const changelogFunctions = {
|
|
getReleaseLine,
|
|
getDependencyReleaseLine,
|
|
getReleaseSummary,
|
|
};
|
|
|
|
module.exports = changelogFunctions; |