-
Notifications
You must be signed in to change notification settings - Fork 2
/
.releaserc.json
62 lines (62 loc) · 1.49 KB
/
.releaserc.json
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
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "HISTORY.md"
}
],
[
"semantic-release-replace-plugin",
{
"replacements": [
{
"files": [
"centralnicreseller/apiconnector/apiclient.py",
"centralnicreseller/apiconnector/__init__.py",
"pyproject.toml"
],
"from": "\"\\d+\\.\\d+\\.\\d+\"",
"to": "\"${nextRelease.version}\"",
"countMatches": true
}
]
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "./scripts/createdistribution.sh",
"publishCmd": "./scripts/uploaddistribution_test.sh && ./scripts/uploaddistribution_live.sh"
}
],
[
"@semantic-release/git",
{
"assets": [
"pyproject.toml",
"HISTORY.md",
"package?(-lock).json",
"docs",
"centralnicreseller/apiconnector/__init__.py",
"centralnicreseller/apiconnector/apiclient.py",
"htmlcov"
]
}
],
"semantic-release-teams-notify-plugin",
[
"@semantic-release/github",
{
"assets": [
{
"label": "centralnicreseller.apiconnector (tar.gz)",
"path": "dist/centralnicreseller.apiconnector-${nextRelease.version}.tar.gz"
}
]
}
]
]
}