diff --git a/.releaserc.js b/.releaserc.js index aa60e1dde7..49ace56f8d 100644 --- a/.releaserc.js +++ b/.releaserc.js @@ -34,7 +34,8 @@ async function config() { console.log(`Running on branch: ${branch}`); // Set changelog file - const changelogFile = `./changelogs/CHANGELOG_${branch}.md`; + const changelogFileSuffix = branch.match(/release-\d+\.x\.x/) ? 'release' : branch; + const changelogFile = `./changelogs/CHANGELOG_${changelogFileSuffix}.md`; // eslint-disable-next-line no-console console.log(`Changelog file output to: ${changelogFile}`); @@ -46,9 +47,8 @@ async function config() { 'release', { name: 'alpha', prerelease: true }, // { name: 'beta', prerelease: true }, - 'next-major', // Long-Term-Support branch - 'release-8.x.x', + { name: 'release-9.x.x', range: '9.x.x', channel: '9.x.x' }, ], dryRun: false, debug: true,