[bumpversion] current_version = 0.3.10rc1 parse = ^ (?P\d+)\.(?P\d+)\.(?P\d+) # Major, minor, patch (X.Y.Z) # Separator ((?Pa|alpha|b|beta|d|dev|rc) # Prerelease (a, alpha, b, beta, d, dev, rc) (?P\d+))? # Prerelease version serialize = {major}.{minor}.{patch}{prerel}{prerelversion} {major}.{minor}.{patch} [bumpversion:part:prerel] values = a alpha b beta d dev rc [bumpversion:file:pyproject.toml] search = version = "{current_version}" replace = version = "{new_version}" [bumpversion:file:src/openfactcheck/__init__.py] search = __version__ = "{current_version}" replace = __version__ = "{new_version}" [bumpversion:file:pre-requirements.txt] search = openfactcheck=={current_version} replace = openfactcheck=={new_version}