-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.releaserc.json
More file actions
38 lines (38 loc) · 799 Bytes
/
.releaserc.json
File metadata and controls
38 lines (38 loc) · 799 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
31
32
33
34
35
36
37
38
{
"branches": ["main"],
"failComment": false,
"plugins": [
"semantic-release-gitmoji",
["@semantic-release/changelog", { "changelogFile": "CHANGELOG.md" }],
[
"semantic-release-replace-plugin",
{
"replacements": [
{
"countMatches": true,
"files": ["pyproject.toml"],
"from": "version = \"\\d+\\.\\d+\\.\\d+\"",
"results": [
{
"file": "pyproject.toml",
"hasChanged": true,
"numMatches": 1,
"numReplacements": 1
}
],
"to": "version = \"${nextRelease.version}\""
}
]
}
],
[
"@semantic-release/git",
{
"assets": ["CHANGELOG.md", "pyproject.toml"],
"message": "🔖 release ${nextRelease.version}"
}
],
"@semantic-release/github"
],
"successComment": false
}