ci: update auto-release for LTS
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -28,7 +28,7 @@ async function config() {
|
|||||||
console.log(`Running on branch: ${branch}`);
|
console.log(`Running on branch: ${branch}`);
|
||||||
|
|
||||||
// Set changelog file
|
// Set changelog file
|
||||||
const changelogFile = `./changelogs/CHANGELOG_${branch}.md`;
|
const changelogFile = `./changelogs/CHANGELOG_release.md`;
|
||||||
console.log(`Changelog file output to: ${changelogFile}`);
|
console.log(`Changelog file output to: ${changelogFile}`);
|
||||||
|
|
||||||
// Load template file contents
|
// Load template file contents
|
||||||
@@ -41,10 +41,7 @@ async function config() {
|
|||||||
{ name: 'beta', prerelease: true },
|
{ name: 'beta', prerelease: true },
|
||||||
'next-major',
|
'next-major',
|
||||||
// Long-Term-Support branches
|
// Long-Term-Support branches
|
||||||
// { name: 'release-1', range: '1.x.x', channel: '1.x' },
|
{ name: 'release-5.x.x', range: '5.x.x', channel: '5.x.x' },
|
||||||
// { name: 'release-2', range: '2.x.x', channel: '2.x' },
|
|
||||||
// { name: 'release-3', range: '3.x.x', channel: '3.x' },
|
|
||||||
// { name: 'release-4', range: '4.x.x', channel: '4.x' },
|
|
||||||
],
|
],
|
||||||
dryRun: false,
|
dryRun: false,
|
||||||
debug: true,
|
debug: true,
|
||||||
@@ -88,16 +85,6 @@ async function config() {
|
|||||||
labels: ['type:ci'],
|
labels: ['type:ci'],
|
||||||
releasedLabels: ['state:released<%= nextRelease.channel ? `-\${nextRelease.channel}` : "" %>']
|
releasedLabels: ['state:released<%= nextRelease.channel ? `-\${nextRelease.channel}` : "" %>']
|
||||||
}],
|
}],
|
||||||
// Back-merge module runs last because if it fails it should not impede the release process
|
|
||||||
[
|
|
||||||
"@saithodev/semantic-release-backmerge",
|
|
||||||
{
|
|
||||||
"branches": [
|
|
||||||
{ from: "beta", to: "alpha" },
|
|
||||||
{ from: "release", to: "beta" },
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user