-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.versionner.rc
46 lines (40 loc) · 870 Bytes
/
.versionner.rc
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
# https://msztolcman.github.io/versionner/
[versionner]
file = ./VERSION.md
date_format = %Y-%m-%d
up_part = patch
[vcs]
engine = git
commit_message = 'Bump version %(version)s'
[file:pyproject.toml]
enabled = true
search = ^\s*version\s*=.*$
replace = version = "%(version)s"
date_format = %Y-%m-%d
match = line
search_flags =
encoding = utf-8
[file:aio_aws/version.py]
enabled = true
search = ^\s*__version__\s*=.*$
replace = __version__ = "%(version)s"
date_format = %Y-%m-%d
match = line
search_flags =
encoding = utf-8
[file:docs/conf.py]
enabled = true
search = ^\s*version =\s.*$
replace = version = "%(major)s.%(minor)s"
date_format = %Y-%m-%d
match = line
search_flags =
encoding = utf-8
[file:2:docs/conf.py]
enabled = true
search = ^\s*release =\s.*$
replace = release = "%(version)s"
date_format = %Y-%m-%d
match = line
search_flags =
encoding = utf-8