From d2b792bf57836aeeec50adc3144a6f4ab237464c Mon Sep 17 00:00:00 2001 From: Tal Einat Date: Sun, 1 Feb 2015 12:48:32 +0200 Subject: [PATCH] added bumpversion configuration --- .bumpversion.cfg | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .bumpversion.cfg 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}'