Add release candidates to bumpversion

The release process now looks like:
starting version: 0.7.5
bumpversion patch -> 0.7.6-rc0
bumpversion candidate -> 0.7.6-rc1
bumpversion release -> 0.7.6
This commit is contained in:
Job Evers-Meltzer 2016-11-11 07:19:39 -06:00
parent c407d32f5d
commit 2c8d643f4b

View file

@ -2,8 +2,16 @@
current_version = 0.7.5
commit = True
tag = True
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-?(?P<release>[a-z]+)(?P<candidate>\d+))?
serialize =
{major}.{minor}.{patch}-{release}{candidate}
{major}.{minor}.{patch}
[bumpversion:file:lbrynet/__init__.py]
[bumpversion:file:packaging/ubuntu/lbry.desktop]
[bumpversion:part:release]
optional_value = production
values =
rc
production