From 2c8d643f4b8eb3c9f29decd5749167c81c24c745 Mon Sep 17 00:00:00 2001 From: Job Evers-Meltzer Date: Fri, 11 Nov 2016 07:19:39 -0600 Subject: [PATCH] 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 --- .bumpversion.cfg | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 2988100dd..9180950e9 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -2,8 +2,16 @@ current_version = 0.7.5 commit = True tag = True +parse = (?P\d+)\.(?P\d+)\.(?P\d+)(\-?(?P[a-z]+)(?P\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