-
Notifications
You must be signed in to change notification settings - Fork 29
/
package.json
45 lines (45 loc) · 1.1 KB
/
package.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
{
"scripts": {
"release-dry-run": "semantic-release --no-ci --dry-run",
"release": "semantic-release"
},
"type": "module",
"devDependencies": {
"commitlint": "^19.5.0",
"semantic-release": "^24.1.2",
"semantic-release-replace-plugin": "^1.2.7"
},
"release": {
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
[
"semantic-release-replace-plugin",
{
"replacements": [
{
"files": [
"netbox_prometheus_sd/__init__.py"
],
"from": "__VERSION__ = \".*\"",
"to": "__VERSION__ = \"${nextRelease.version}\"",
"results": [
{
"file": "netbox_prometheus_sd/__init__.py",
"hasChanged": true,
"numMatches": 1,
"numReplacements": 1
}
],
"countMatches": true
}
]
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/github"
]
}
}