-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.releaserc.json
More file actions
76 lines (76 loc) · 2.57 KB
/
Copy path.releaserc.json
File metadata and controls
76 lines (76 loc) · 2.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"branches": ["development"],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{ "type": "feat", "release": "patch" },
{ "type": "fix", "release": "patch" },
{ "type": "perf", "release": "patch" },
{ "type": "revert", "release": "patch" },
{ "type": "docs", "scope": "README", "release": "patch" },
{ "type": "style", "release": false },
{ "type": "chore", "release": false },
{ "type": "refactor", "release": "patch" },
{ "type": "test", "release": false },
{ "type": "build", "release": false },
{ "type": "ci", "release": false },
{ "breaking": true, "release": "minor" },
{ "revert": true, "release": "patch" }
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{ "type": "feat", "section": "✨ Features", "hidden": false },
{ "type": "fix", "section": "🐛 Bug Fixes", "hidden": false },
{ "type": "perf", "section": "⚡ Performance", "hidden": false },
{ "type": "revert", "section": "⏪ Reverts", "hidden": false },
{ "type": "docs", "section": "📚 Documentation", "hidden": false },
{ "type": "style", "section": "💄 Styles", "hidden": true },
{ "type": "chore", "section": "🔧 Maintenance", "hidden": true },
{ "type": "refactor", "section": "♻️ Code Refactoring", "hidden": false },
{ "type": "test", "section": "✅ Tests", "hidden": true },
{ "type": "build", "section": "📦 Build System", "hidden": true },
{ "type": "ci", "section": "👷 CI/CD", "hidden": true }
]
}
}
],
[
"@semantic-release/npm",
{
"npmPublish": true,
"pkgRoot": "."
}
],
[
"@semantic-release/github",
{
"assets": [
{
"path": "expo-focus-menu-*.tgz",
"label": "NPM Package (tar.gz)"
}
],
"successComment": "🎉 This PR is included in version ${nextRelease.version}",
"failComment": false,
"releasedLabels": ["released"],
"addReleases": "bottom"
}
],
[
"@semantic-release/git",
{
"assets": ["package.json", "package-lock.json"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}