mirror of
https://github.com/gorhill/uBlock.git
synced 2025-01-31 20:21:35 +01:00
fix py script for new template location
This commit is contained in:
parent
e930403635
commit
c6c60ca658
2
dist/firefox/publish-signed-beta.py
vendored
2
dist/firefox/publish-signed-beta.py
vendored
@ -251,7 +251,7 @@ with open(updates_json_filepath) as f:
|
||||
f.close()
|
||||
previous_version = updates_json['addons'][extension_id]['updates'][0]['version']
|
||||
if LooseVersion(version) > LooseVersion(previous_version):
|
||||
with open(os.path.join(projdir, 'platform', 'webext', 'updates.template.json')) as f:
|
||||
with open(os.path.join(projdir, 'dist', 'firefox', 'updates.template.json')) as f:
|
||||
template_json = Template(f.read())
|
||||
f.close()
|
||||
updates_json = template_json.substitute(version=version)
|
||||
|
Loading…
x
Reference in New Issue
Block a user