From 8b049d592f2fbaa758d34020f2a364bf5bcd81d0 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sun, 3 Jun 2018 14:06:15 -0400 Subject: [PATCH] fix py publish script --- dist/firefox/publish-signed-beta.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/firefox/publish-signed-beta.py b/dist/firefox/publish-signed-beta.py index cdd64ada1..c5dd14cc7 100755 --- a/dist/firefox/publish-signed-beta.py +++ b/dist/firefox/publish-signed-beta.py @@ -278,7 +278,7 @@ updates_json_filepath = os.path.join(projdir, 'dist', 'firefox', 'updates.json') with open(updates_json_filepath) as f: updates_json = json.load(f) f.close() - previous_version = updates_json['addons'][extension_id]['updates'][0]['ext_version'] + previous_version = updates_json['addons'][extension_id]['updates'][0]['version'] if LooseVersion(ext_version) > LooseVersion(previous_version): with open(os.path.join(projdir, 'dist', 'firefox', 'updates.template.json')) as f: template_json = Template(f.read())