-
Notifications
You must be signed in to change notification settings - Fork 311
/
.release-it.json
88 lines (88 loc) · 2.95 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"hooks": {},
"git": {
"changelog": null,
"requireCleanWorkingDir": false,
"requireUpstream": true,
"requireCommits": true,
"addUntrackedFiles": true,
"commit": true,
"commitMessage": "Version bump to ${version}",
"commitArgs": [],
"tag": true,
"tagName": null,
"tagAnnotation": "Release ${version}",
"tagArgs": [],
"push": true,
"pushArgs": ["--follow-tags"],
"pushRepo": "",
"requireBranch": "master"
},
"github": {
"release": true,
"releaseName": "ghostwriter ${version}",
"releaseNotes": "./releaseNotes.py ${version}",
"preRelease": false,
"draft": true,
"tokenRef": "GITHUB_TOKEN",
"assets": ["COPYING"],
"host": null,
"timeout": 0,
"proxy": null,
"skipChecks": false,
"web": false
},
"plugins": {
"@j-ulrich/release-it-regex-bumper": {
"out": [
{
"file": "ghostwriter.pro",
"search": "VERSION = .*",
"replace": "VERSION = {{version}}"
},
{
"file": "./resources/linux/ghostwriter.appdata.xml",
"search": "<release .*/>",
"replace": "<release version=\"{{version}}\" date=\"{{now:YYYY-MM-DD}}\" type=\"stable\"/>"
},
"./resources/linux/ghostwriter.1",
{
"file": "./resources/linux/ghostwriter.1",
"search": "(\\.TH man \\d+) \".*?\" (.*)",
"replace": "$1 \"{{now:D MMM YYYY}}\" $2"
},
{
"file": "ghostwriter.spec",
"search": "%global changelog_date .*",
"replace": "%global changelog_date {{now:ddd MMM DD YYYY}}"
},
{
"file": "ghostwriter.spec",
"search": "%global appver .*",
"replace": "%global appver {{version}}"
},
"./debian/changelog",
{
"file": "./debian/changelog",
"search": "(\\s+--\\s+.*?>).*",
"replace": "$1 {{now:ddd, DD MMM YYYY HH:mm:ss ZZ}}"
},
{
"file": "appveyor.yml",
"search": "version:.*",
"replace": "version: {{version}}+{build}"
},
{
"file": "appveyor.yml",
"search": "appver:.*",
"replace": "appver: {{version}}"
},
{
"file": "CHANGELOG.md",
"search": "\\[Unreleased\\].*",
"replace": "[{{version}}] - {{now:YYYY-MM-DD}}"
}
]
}
}
}