-
Notifications
You must be signed in to change notification settings - Fork 16
/
.release-it.json
36 lines (36 loc) · 969 Bytes
/
.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
{
"git": {
"push": true,
"commit": true,
"commitMessage": "chore: version ${version} [skip ci]",
"requireBranch": "main",
"tag": true
},
"github": {
"release": true,
"autoGenerate": true,
"releaseName": "${version}"
},
"plugins": {
"@j-ulrich/release-it-regex-bumper": {
"in": "lib/crowdin-api/client/version.rb",
"out": [
{
"file": "README.md",
"search": "gem 'crowdin-api', '~> \\d+\\.\\d+\\.\\d+'",
"replace": "gem 'crowdin-api', '~> {{versionWithoutPrerelease}}'"
},
{
"file": "lib/crowdin-api/client/version.rb",
"search": "VERSION = '\\d+\\.\\d+\\.\\d+'",
"replace": "VERSION = '{{versionWithoutPrerelease}}'"
},
{
"file": "Gemfile.lock",
"search": "crowdin-api \\(\\d+\\.\\d+\\.\\d+\\)",
"replace": "crowdin-api ({{versionWithoutPrerelease}})"
}
]
}
}
}