Skip to content

Instantly share code, notes, and snippets.

@nyanshell
Created November 19, 2014 02:22
Show Gist options
  • Save nyanshell/7938219e7818dbdc02cf to your computer and use it in GitHub Desktop.
Save nyanshell/7938219e7818dbdc02cf to your computer and use it in GitHub Desktop.
.bumpversion.cfg
[bumpversion]
files = setup.py corpus/__init__.py
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(?P<release>.*)
serialize =
{major}.{minor}.{patch}{release}
{major}.{minor}.{patch}
commit = True
tag = True
current_version = 0.3.1a
[bumpversion:part:release]
optional_value = g
values =
a
b
g
[bumpversion:file:setup.py]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment