Skip to content

Commit aa98357

Browse files
authored
ci: Update auto-release LTS branch (#9969)
1 parent 04cc78f commit aa98357

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.releaserc.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ async function config() {
3434
console.log(`Running on branch: ${branch}`);
3535

3636
// Set changelog file
37-
const changelogFile = `./changelogs/CHANGELOG_${branch}.md`;
37+
const changelogFileSuffix = branch.match(/release-\d+\.x\.x/) ? 'release' : branch;
38+
const changelogFile = `./changelogs/CHANGELOG_${changelogFileSuffix}.md`;
3839
// eslint-disable-next-line no-console
3940
console.log(`Changelog file output to: ${changelogFile}`);
4041

@@ -46,9 +47,8 @@ async function config() {
4647
'release',
4748
{ name: 'alpha', prerelease: true },
4849
// { name: 'beta', prerelease: true },
49-
'next-major',
5050
// Long-Term-Support branch
51-
'release-8.x.x',
51+
{ name: 'release-9.x.x', range: '9.x.x', channel: '9.x.x' },
5252
],
5353
dryRun: false,
5454
debug: true,

0 commit comments

Comments
 (0)