From cd65b6fd13d4fea21c104746391c4998f0fc13fb Mon Sep 17 00:00:00 2001 From: Job Evers-Meltzer Date: Fri, 11 Nov 2016 14:34:01 -0600 Subject: [PATCH] Normalize python version setuptools will force a version to be 'normalized' which means that it removes the dash. This will probably cause some weirdness on the version numbers in the windows build; might have to re-work my patches on cx_freeze: https://bitbucket.org/jobevers/cx_freeze/commits/all --- .bumpversion.cfg | 6 +++--- lbrynet/__init__.py | 2 +- packaging/ubuntu/lbry.desktop | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 8e94031d7..5d1ef0f18 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,10 +1,10 @@ [bumpversion] -current_version = 0.7.6-rc0 +current_version = 0.7.6rc0 commit = True tag = True -parse = (?P\d+)\.(?P\d+)\.(?P\d+)(\-?(?P[a-z]+)(?P\d+))? +parse = (?P\d+)\.(?P\d+)\.(?P\d+)((?P[a-z]+)(?P\d+))? serialize = - {major}.{minor}.{patch}-{release}{candidate} + {major}.{minor}.{patch}{release}{candidate} {major}.{minor}.{patch} [bumpversion:file:lbrynet/__init__.py] diff --git a/lbrynet/__init__.py b/lbrynet/__init__.py index 2fd6c7276..68a1be76f 100644 --- a/lbrynet/__init__.py +++ b/lbrynet/__init__.py @@ -1,6 +1,6 @@ import logging -__version__ = "0.7.6-rc0" +__version__ = "0.7.6rc0" version = tuple(__version__.split('.')) logging.getLogger(__name__).addHandler(logging.NullHandler()) diff --git a/packaging/ubuntu/lbry.desktop b/packaging/ubuntu/lbry.desktop index 2a200f066..066054b98 100644 --- a/packaging/ubuntu/lbry.desktop +++ b/packaging/ubuntu/lbry.desktop @@ -1,5 +1,5 @@ [Desktop Entry] -Version=0.7.6-rc0 +Version=0.7.6rc0 Name=LBRY Comment=The world's first user-owned content marketplace Icon=lbry