added bumpversion configuration

This commit is contained in:
Tal Einat 2015-02-01 12:48:32 +02:00
parent 3834afbc9e
commit d2b792bf57
1 changed files with 20 additions and 0 deletions

20
.bumpversion.cfg Normal file
View File

@ -0,0 +1,20 @@
[bumpversion]
current_version = 0.2.2
commit = True
tag = True
[bumpversion:file:setup.py]
parse =
(?:version[ \t]*\=[ \t]*) # 'version=' with spaces
(['"]) # opening quote
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+) # version
\1 # match opening quote
serialize = version='{major}.{minor}.{patch}'
[bumpversion:file:src/fuzzysearch/__init__.py]
parse =
(?:__version__[ \t]*\=[ \t]*) # '__version__ =' with spaces
(['"]) # opening quote
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+) # version
\1 # match opening quote
serialize = __version__ = '{major}.{minor}.{patch}'