File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 ( / r e l e a s e - \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 ,
You can’t perform that action at this time.
0 commit comments