Skip to content

Commit

Permalink
Update publishing script for Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Nov 11, 2021
1 parent 9fbc50f commit 1858161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/firefox/publish-signed-beta.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def get_jwt_auth():
headers = { 'Authorization': get_jwt_auth(), }
data = { 'channel': 'unlisted' }
files = { 'upload': f, }
signing_url = 'https://addons.mozilla.org/api/v3/addons/{0}/versions/{1}/'.format(extension_id, ext_version)
signing_url = 'https://addons.mozilla.org/api/v4/addons/{0}/versions/{1}/'.format(extension_id, ext_version)
print('Submitting package to be signed...')
response = requests.put(signing_url, headers=headers, data=data, files=files)
if response.status_code != 202:
Expand Down

0 comments on commit 1858161

Please sign in to comment.