forked from KDE/ghostwriter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.release-it.json
72 lines (72 loc) · 2.38 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
{
"hooks": {},
"git": {
"changelog": "git log --pretty=format:\"* %s (%h)\" ${from}...${to}",
"requireCleanWorkingDir": true,
"requireBranch": false,
"requireUpstream": true,
"requireCommits": false,
"addUntrackedFiles": false,
"commit": true,
"commitMessage": "Release ${version}",
"commitArgs": [],
"tag": true,
"tagName": null,
"tagAnnotation": "Release ${version}",
"tagArgs": [],
"push": true,
"pushArgs": ["--follow-tags"],
"pushRepo": ""
},
"github": {
"release": false,
"releaseName": "Release ${version}",
"releaseNotes": null,
"preRelease": false,
"draft": false,
"tokenRef": "GITHUB_TOKEN",
"assets": null,
"host": null,
"timeout": 0,
"proxy": null,
"skipChecks": 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}}"
}
]
}
}
}