PR comments

This commit is contained in:
a8trejo
2024-12-20 10:30:43 -08:00
parent 1baa215299
commit bbf7ba7995

View File

@@ -1,4 +1,4 @@
// Doesn't fully work but '.github/scripts/overwrite_changeset_changelog.py' forces the changelog to be formatted in GHA // Half-works to simplify the format but needs 'overwrite_changeset_changelog.py' in GHA to finish formatting
const getReleaseLine = async (changeset) => { const getReleaseLine = async (changeset) => {
const [firstLine] = changeset.summary const [firstLine] = changeset.summary
@@ -12,14 +12,9 @@ const getDependencyReleaseLine = async () => {
return ''; return '';
}; };
const getReleaseSummary = async (release) => {
return `## [${release.newVersion}]\n\n`;
};
const changelogFunctions = { const changelogFunctions = {
getReleaseLine, getReleaseLine,
getDependencyReleaseLine, getDependencyReleaseLine,
getReleaseSummary,
}; };
module.exports = changelogFunctions; module.exports = changelogFunctions;