[bumpversion] current_version = 0.16.0 commit = True # The below regex details an acceptable version number by naming the groups (major, minor, patch, prerel, and # prerelversion) and also specifying the valid values for each group (integers, `\d+`, for major, minor, patch, and # prerelversion and only `rc` as the acceptable value for prerel). parse = (?P\d+)\.(?P\d+)\.(?P\d+)(?:-(?Prc)\.(?P\d+))? serialize = {major}.{minor}.{patch}-{prerel}.{prerelversion} {major}.{minor}.{patch} [bumpversion:part:prerel] optional_value = release values = rc release [bumpversion:file:setup.py] search = version="{current_version}" replace = version="{new_version}" [bumpversion:file:client/package.json] search = "version": "{current_version}" replace = "version": "{new_version}" [bumpversion:file:server/__init__.py] search = __version__ = "{current_version}" replace = __version__ = "{new_version}"