Skip to content

Commit 7017bea

Browse files
committed
feat(TU-33149): Move to a new release configuration file structure
1 parent 25334a4 commit 7017bea

File tree

4 files changed

+41
-31
lines changed

4 files changed

+41
-31
lines changed

.releaserc

Lines changed: 0 additions & 31 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('../../release.config.base.js')

packages/embed/release.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('../../release.config.base.js')

release.config.base.js

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
module.exports = {
2+
extends: ['semantic-release-monorepo'],
3+
branches: [{ name: 'main', channel: false }],
4+
plugins: [
5+
[
6+
'@semantic-release/commit-analyzer',
7+
{
8+
releaseRules: [
9+
{ breaking: true, release: 'major' },
10+
{ revert: true, release: 'patch' },
11+
{ type: 'feat', release: 'minor' },
12+
{ type: 'fix', release: 'patch' },
13+
{ type: 'perf', release: 'patch' },
14+
{ type: 'chore', scope: 'deps', release: 'patch' },
15+
],
16+
parserOpts: {
17+
noteKeywords: ['BREAKING CHANGE', 'BREAKING CHANGES'],
18+
},
19+
},
20+
],
21+
'@semantic-release/release-notes-generator',
22+
'@semantic-release/changelog',
23+
[
24+
'@semantic-release/npm',
25+
{
26+
npmPublish: true,
27+
provenance: true,
28+
},
29+
],
30+
[
31+
'@semantic-release/exec',
32+
{
33+
successCmd: 'yarn post-release',
34+
},
35+
],
36+
'@semantic-release/git',
37+
'@semantic-release/github',
38+
],
39+
}

0 commit comments

Comments
 (0)