-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.release-it.json
51 lines (51 loc) · 1.4 KB
/
.release-it.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
{
"git": {
"commitMessage": "chore: release v${version}",
"changelog": "npx auto-changelog --stdout --commit-limit false --unreleased --template https://raw.githubusercontent.com/release-it/release-it/master/templates/changelog-compact.hbs"
},
"github": {
"release": true
},
"npm": {
"publish": false
},
"hooks": {
"after:bump": "npx auto-changelog -p"
},
"plugins": {
"@j-ulrich/release-it-regex-bumper": {
"out": [
{
"file": "README.txt",
"search": "Stable tag: \\d+\\.\\d+\\.\\d+",
"replace": "Stable tag: {{version}}"
},
{
"file": "README.txt",
"search": "Updated \\d+\\-\\d+\\-\\d+",
"replace": "Updated {{now:yyyy-MM-dd}}"
},
{
"file": "README.md",
"search": "Version \\d+\\.\\d+\\.\\d+",
"replace": "Version {{version}}"
},
{
"file": "README.md",
"search": "Updated \\d+\\-\\d+\\-\\d+",
"replace": "Updated {{now:yyyy-MM-dd}}"
},
{
"file": "ecoindex-badge.php",
"search": "Version: \\d+\\.\\d+\\.\\d+",
"replace": "Version: {{version}}"
},
{
"file": "ecoindex-badge.php",
"search": "'ECOINDEX_BADGE_VERSION', '([0-9.]+)'",
"replace": "'ECOINDEX_BADGE_VERSION', '{{version}}'"
}
]
}
}
}