Closed paulrouget closed 3 months ago
If anyone is running into a similar issue: even though web-ext times out, the XPI is actually available. You can probably go download it yourself, but if you use a CI, this is how I did it with https://github.com/mike-engel/jwt-cli and https://mozilla.github.io/addons-server/topics/api/index.html :
jwt=$(jwt encode --jti=0.$(( ( RANDOM % 1000000000 ) + 1 )) --exp=$(( $(date +%s) + 300 )) -i $api_key -S $api_secret)
curl "https://addons.mozilla.org/api/v5/addons/addon/XXX/" -H "Authorization: JWT $jwt" > /tmp/out.json
eval $(yq ".latest_unlisted_version.file.url" -o shell /tmp/out.json)
rm /tmp/out.json
jwt=$(jwt encode --jti=0.$(( ( RANDOM % 1000000000 ) + 1 )) --exp=$(( $(date +%s) + 300 )) -i $api_key -S $api_secret)
curl $value -H "Authorization: JWT $jwt" > out.xpi
Hm, I think I'm wrong. Firefox tells me this is not signed.
There is no guarantee of the signed file being available soon after submission. The documentation calls this out, at https://extensionworkshop.com/documentation/publish/signing-and-distribution-overview/#post-submission-review
It can take up to 24 hours for your submission to be signed and published, or longer if your submission is selected for manual review.
Understood.
Is this a feature request or a bug?
Bug. It started a few days ago.
What is the current behavior?
With
--use-submission-api
:And without
--use-submission-api
, it times out as well.