Skip to content

Commit b93661f

Browse files
committed
chore: add semantic release configuration
1 parent 7a1225a commit b93661f

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.releaserc.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
module.exports = {
2+
branches: ['main'],
3+
plugins: [
4+
'@semantic-release/commit-analyzer',
5+
'@semantic-release/release-notes-generator',
6+
[
7+
'@semantic-release/changelog',
8+
{
9+
changelogFile: 'CHANGELOG.md',
10+
},
11+
],
12+
['@semantic-release/npm', { npmPublish: false }], // Set to true to publish to npm
13+
'@semantic-release/github',
14+
[
15+
'@semantic-release/git',
16+
{
17+
assets: ['package.json', 'package-lock.json', 'CHANGELOG.md'],
18+
message: 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
19+
},
20+
],
21+
],
22+
};

0 commit comments

Comments
 (0)