forked from ICTU/quality-time
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bumpversion-rc.cfg
32 lines (26 loc) · 976 Bytes
/
.bumpversion-rc.cfg
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
[bumpversion]
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-rc\.(?P<rc>\d+))?
serialize =
{major}.{minor}.{patch}-rc.{rc}
{major}.{minor}.{patch}
current_version = 3.10.0
commit = true
tag = true
[bumpversion:file:components/frontend/package.json]
search = "version": "{current_version}",
replace = "version": "{new_version}",
[bumpversion:file:sonar-project.properties]
search = sonar.projectVersion={current_version}
replace = sonar.projectVersion={new_version}
[bumpversion:file:docs/CHANGELOG.md]
search = [{current_version}] - [{$RELEASE_DATE}]
replace = [{new_version}] - [{$RELEASE_DATE}]
[bumpversion:file:docker/docker-compose.yml]
search = :v{current_version}
replace = :v{new_version}
[bumpversion:file:.bumpversion.cfg]
search = current_version = {current_version}
replace = current_version = {new_version}
[bumpversion:file:.circleci/config.yml]
search = quality-time_frontend:v{current_version}
replace = quality-time_frontend:v{new_version}