Fix Firefox publish script

This commit is contained in:
Raymond Hill 2019-11-23 13:44:18 -05:00
parent 5158d7207e
commit 7e5494e4de
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -226,8 +226,9 @@ with open(unsigned_xpi_filepath, 'rb') as f:
exit(1)
if not signing_check_response['files'] or len(signing_check_response['files']) == 0:
continue
if not signing_check_response['files'][0]['signed']:
if not signing_check_response['files'][0]['download_url']:
print('Error: AMO signing failed')
print(response.text)
exit(1)
print('\r')
print('Self-hosted xpi package successfully signed.')