-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.releaserc.json
More file actions
30 lines (30 loc) · 905 Bytes
/
.releaserc.json
File metadata and controls
30 lines (30 loc) · 905 Bytes
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
{
"branches": ["main"],
"tagFormat": "v${version}",
"plugins": [
"./.semantic-release/commit-analyzer.js",
"./.semantic-release/release-notes-generator.js",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md",
"changelogTitle": "# Changelog\n\nAll notable changes to this project will be documented in this file."
}
],
"@semantic-release/npm",
[
"@semantic-release/github",
{
"successComment": "🎉 This ${issue.pull_request ? 'PR is included' : 'issue is fixed'} in version ${nextRelease.version}",
"failComment": "❌ The release failed with this error: ${error.message}"
}
],
[
"@semantic-release/git",
{
"assets": ["package.json", "CHANGELOG.md"],
"message": "🔖 Release ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}