Add bumpversion config

This commit is contained in:
Labrys of Knossos 2018-12-28 12:30:46 -05:00
commit 6ae1aee1b3
2 changed files with 17 additions and 0 deletions

16
.bumpversion.cfg Normal file
View file

@ -0,0 +1,16 @@
[bumpversion]
current_version = 11.7.4
commit = True
tag = False
[bumpversion:file:setup.py]
search = version='{current_version}'
replace = version='{new_version}'
[bumpversion:file:README.md]
search = v{current_version}
replace = v{new_version}
[bumpversion:file:core/__init__.py]
search = __version__ = '{current_version}'
replace = __version__ = '{new_version}'

1
.gitignore vendored
View file

@ -1,4 +1,5 @@
*.cfg
!.bumpversion.cfg
*.cfg.old
*.pyc
*.pyo