Skip to content

Commit 6cc5469

Browse files
committed
config: add semantic-release settings
1 parent 4066f62 commit 6cc5469

File tree

1 file changed

+74
-0
lines changed

1 file changed

+74
-0
lines changed

.releaserc

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{
2+
"branches": [
3+
"master",
4+
"main"
5+
],
6+
"repositoryUrl": "https://github.com/stackr23/react-stack",
7+
"plugins": [
8+
[
9+
"@semantic-release/commit-analyzer",
10+
{
11+
"config": "@stackr23/conventional-changelog-config",
12+
"releaseRules": [
13+
{
14+
"type": "feat",
15+
"release": "minor"
16+
},
17+
{
18+
"type": "fix",
19+
"release": "patch"
20+
},
21+
{
22+
"type": "config",
23+
"release": "patch"
24+
},
25+
{
26+
"type": "script",
27+
"release": "patch"
28+
},
29+
{
30+
"type": "style",
31+
"release": "patch"
32+
},
33+
{
34+
"type": "deps",
35+
"release": "patch"
36+
}
37+
]
38+
}
39+
],
40+
[
41+
"@semantic-release/release-notes-generator",
42+
{
43+
"config": "@stackr23/conventional-changelog-config"
44+
}
45+
],
46+
[
47+
"@semantic-release/changelog",
48+
{
49+
"changelogFile": "CHANGELOG.md",
50+
"changelogTitle": "# Changelog\n\n> generated with [@semantic-release/changelog](https://github.com/semantic-release/changelog)\n\n"
51+
}
52+
],
53+
[
54+
"@semantic-release/npm",
55+
{
56+
"npmPublish": false,
57+
"tarballDir": "releases"
58+
}
59+
],
60+
[
61+
"@semantic-release/git",
62+
{
63+
"assets": [
64+
"CHANGELOG.md",
65+
"package.json"
66+
],
67+
"message": "chore(release): 🤖🔖🚀 v${nextRelease.version} \n\n${nextRelease.notes} [skip ci]"
68+
}
69+
],
70+
[
71+
"@semantic-release/github"
72+
]
73+
]
74+
}

0 commit comments

Comments
 (0)