diff --git a/.bumpversion.cfg b/.bumpversion.cfg new file mode 100644 index 0000000..c0b013a --- /dev/null +++ b/.bumpversion.cfg @@ -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\d+)\.(?P\d+)\.(?P\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\d+)\.(?P\d+)\.(?P\d+) # version + \1 # match opening quote +serialize = __version__ = '{major}.{minor}.{patch}'