added bumpversion configuration
This commit is contained in:
parent
3834afbc9e
commit
d2b792bf57
|
@ -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}'
|
Loading…
Reference in New Issue