From 9fa2777589f439cd463b91be3dc29e8beff5593a Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Fri, 20 Apr 2018 07:24:10 -0400 Subject: [PATCH] new revision for release candidate --- dist/firefox/publish-signed-beta.py | 4 ++-- dist/version | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/firefox/publish-signed-beta.py b/dist/firefox/publish-signed-beta.py index 84f1b38..dc3dfce 100755 --- a/dist/firefox/publish-signed-beta.py +++ b/dist/firefox/publish-signed-beta.py @@ -13,7 +13,7 @@ import tempfile import time import zipfile -from distutils.version import StrictVersion +from distutils.version import LooseVersion from string import Template # - Download target (raw) uMatrix.webext.xpi from GitHub @@ -250,7 +250,7 @@ with open(updates_json_filepath) as f: updates_json = json.load(f) f.close() previous_version = updates_json['addons'][extension_id]['updates'][0]['version'] - if StrictVersion(version) > StrictVersion(previous_version): + if LooseVersion(version) > LooseVersion(previous_version): with open(os.path.join(projdir, 'platform', 'webext', 'updates.template.json')) as f: template_json = Template(f.read()) f.close() diff --git a/dist/version b/dist/version index 9b6c495..50c9fc3 100644 --- a/dist/version +++ b/dist/version @@ -1 +1 @@ -1.3.7.4 +1.3.7.100