1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-05-19 03:33:17 +12:00

new revision for release candidate

This commit is contained in:
Raymond Hill 2018-04-20 07:24:10 -04:00
parent 41bec3b53e
commit 9fa2777589
No known key found for this signature in database
GPG key ID: 25E1490B761470C2
2 changed files with 3 additions and 3 deletions

View file

@ -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()

2
dist/version vendored
View file

@ -1 +1 @@
1.3.7.4
1.3.7.100