@@ -24,11 +24,11 @@ const templates = {
24
24
async function config ( ) {
25
25
26
26
// Get branch
27
- const branch = ref . split ( '/' ) . pop ( ) . split ( '-' ) [ 0 ] ;
27
+ const branch = ref . split ( '/' ) . pop ( ) ;
28
28
console . log ( `Running on branch: ${ branch } ` ) ;
29
29
30
30
// Set changelog file
31
- const changelogFile = `./changelogs/CHANGELOG_ ${ branch } .md` ;
31
+ const changelogFile = `./changelogs/CHANGELOG_release .md` ;
32
32
console . log ( `Changelog file output to: ${ changelogFile } ` ) ;
33
33
34
34
// Load template file contents
@@ -40,8 +40,8 @@ async function config() {
40
40
{ name : 'alpha' , prerelease : true } ,
41
41
{ name : 'beta' , prerelease : true } ,
42
42
'next-major' ,
43
- // Long-Term-Support branch of previous major version
44
- 'release-6.x.x' ,
43
+ // Long-Term-Support branches
44
+ { name : 'release-6.x.x' , range : '6.x.x' , channel : '6.x.x' } ,
45
45
] ,
46
46
dryRun : false ,
47
47
debug : true ,
@@ -85,16 +85,6 @@ async function config() {
85
85
labels : [ 'type:ci' ] ,
86
86
releasedLabels : [ 'state:released<%= nextRelease.channel ? `-\${nextRelease.channel}` : "" %>' ]
87
87
} ] ,
88
- // Back-merge module runs last because if it fails it should not impede the release process
89
- [
90
- "@saithodev/semantic-release-backmerge" ,
91
- {
92
- "branches" : [
93
- { from : "beta" , to : "alpha" } ,
94
- { from : "release" , to : "beta" } ,
95
- ]
96
- }
97
- ] ,
98
88
] ,
99
89
} ;
100
90
0 commit comments