|
3 | 3 | 'commit_args': None,
|
4 | 4 | 'current_version': '1.0.0',
|
5 | 5 | 'excluded_paths': [],
|
6 |
| - 'files': [{'filename': 'setup.py', |
| 6 | + 'files': [{'exclude_bumps': (), |
| 7 | + 'filename': 'setup.py', |
7 | 8 | 'glob': None,
|
8 | 9 | 'glob_exclude': None,
|
9 | 10 | 'ignore_missing_file': False,
|
10 | 11 | 'ignore_missing_version': False,
|
11 |
| - 'invalid_bumps': (), |
| 12 | + 'include_bumps': ('major', 'minor', 'patch', 'release'), |
12 | 13 | 'key_path': None,
|
13 | 14 | 'parse': '(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\-(?P<release>[a-z]+))?',
|
14 | 15 | 'regex': False,
|
15 | 16 | 'replace': '{new_version}',
|
16 | 17 | 'search': '{current_version}',
|
17 | 18 | 'serialize': ('{major}.{minor}.{patch}-{release}',
|
18 |
| - '{major}.{minor}.{patch}'), |
19 |
| - 'valid_bumps': ('major', 'minor', 'patch', 'release')}, |
20 |
| - {'filename': 'bumpversion/__init__.py', |
| 19 | + '{major}.{minor}.{patch}')}, |
| 20 | + {'exclude_bumps': (), |
| 21 | + 'filename': 'bumpversion/__init__.py', |
21 | 22 | 'glob': None,
|
22 | 23 | 'glob_exclude': None,
|
23 | 24 | 'ignore_missing_file': False,
|
24 | 25 | 'ignore_missing_version': False,
|
25 |
| - 'invalid_bumps': (), |
| 26 | + 'include_bumps': ('major', 'minor', 'patch', 'release'), |
26 | 27 | 'key_path': None,
|
27 | 28 | 'parse': '(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\-(?P<release>[a-z]+))?',
|
28 | 29 | 'regex': False,
|
29 | 30 | 'replace': '{new_version}',
|
30 | 31 | 'search': '{current_version}',
|
31 | 32 | 'serialize': ('{major}.{minor}.{patch}-{release}',
|
32 |
| - '{major}.{minor}.{patch}'), |
33 |
| - 'valid_bumps': ('major', 'minor', 'patch', 'release')}, |
34 |
| - {'filename': 'CHANGELOG.md', |
| 33 | + '{major}.{minor}.{patch}')}, |
| 34 | + {'exclude_bumps': (), |
| 35 | + 'filename': 'CHANGELOG.md', |
35 | 36 | 'glob': None,
|
36 | 37 | 'glob_exclude': None,
|
37 | 38 | 'ignore_missing_file': False,
|
38 | 39 | 'ignore_missing_version': False,
|
39 |
| - 'invalid_bumps': (), |
| 40 | + 'include_bumps': ('major', 'minor', 'patch', 'release'), |
40 | 41 | 'key_path': None,
|
41 | 42 | 'parse': '(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\-(?P<release>[a-z]+))?',
|
42 | 43 | 'regex': False,
|
43 | 44 | 'replace': '**unreleased**\n**v{new_version}**',
|
44 | 45 | 'search': '**unreleased**',
|
45 | 46 | 'serialize': ('{major}.{minor}.{patch}-{release}',
|
46 |
| - '{major}.{minor}.{patch}'), |
47 |
| - 'valid_bumps': ('major', 'minor', 'patch', 'release')}], |
| 47 | + '{major}.{minor}.{patch}')}], |
48 | 48 | 'ignore_missing_files': False,
|
49 | 49 | 'ignore_missing_version': False,
|
50 | 50 | 'included_paths': [],
|
|
0 commit comments