PlasmoHQ / bpp

🚀 Browser Platform Publisher
MIT License
160 stars 11 forks source link

[BUG] firefox: duplicate add-on ID found #83

Closed elijaholmos closed 2 years ago

elijaholmos commented 2 years ago

What happened?

Hello, I've been testing BPP in my open-source repository, and I was able to successfully build & publish my extension to the Chrome and Edge stores. However, in this failed workflow, Firefox throws a "duplicate add-on ID found" error. I intentionally leave the firefox.extId value blank in my keys.json, because my manifest.json contains the following:

"browser_specific_settings": {
  "gecko": {
    "id": "hns@hns.com"
  }
}

After double-checking the schema for the keys file, it says to check the Technical Details section of my addon listing, which displays: image

Is this an error on my end? Should I manually include the extension id of hns@hns.com in the BPP keys.json, or would that be redundant?

Which browsers are you seeing the problem on?

Firefox

Relevant log output

Error: firefox: Step 1) Item ""hns@hns.com" (Halo Notification Service)": Duplicate add-on ID found.

Code of Conduct

louisgv commented 2 years ago

Hi @elijaholmos, thanks for the issue report!

There's actually a bug in the code that is now surfacing xD... apparently, the ID turned undefined when it's just an email. Someone submitted a patch last monday but I was busy last week so didn't get a chance to merge it. Will make a new release soon!

see: https://github.com/PlasmoHQ/mozilla-addons-api/pull/36

louisgv commented 2 years ago

@elijaholmos new version released, you can try rerun the v2 rolling version, or use a specific tagged version

elijaholmos commented 2 years ago

thank you! I'll try it out on my next extension release and let you know how it goes

elijaholmos commented 2 years ago

@louisgv cheers! Deployment was a success 🙂 thank you for fixing this quickly