Skip to content

Commit

Permalink
Update bumpversion
Browse files Browse the repository at this point in the history
  • Loading branch information
ddomingof committed Mar 13, 2019
1 parent db44afb commit 10a68e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 4 additions & 7 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,24 @@ current_version = 0.1.1
commit = True
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(?:-(?P<release>[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+(?P<build>[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?
serialize =
serialize =
{major}.{minor}.{patch}-{release}+{build}
{major}.{minor}.{patch}+{build}
{major}.{minor}.{patch}-{release}
{major}.{minor}.{patch}

[bumpversion:part:release]
optional_value = production
first_value = dev
values =
values =
dev
production

[bumpverion:part:build]
values = [0-9A-Za-z-]+

[bumpversion:file:setup.cfg]
search = __version__ = '{current_version}'
replace = __version__ = '{new_version}'
search = version = {current_version}
replace = version = {new_version}

[bumpversion:file:docs/source/conf.py]
search = release = '{current_version}'
replace = release = '{new_version}'

2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
##########################
[metadata]
name = pathme
version = __version__ = '0.1.1'
version = 0.1.1
description = Harmonizing pathway databases using Biological Expression Language (BEL)
long_description = file: README.rst

Expand Down

0 comments on commit 10a68e2

Please sign in to comment.