fix(ext-ci): match AMO-renamed signed XPI #14
Reference in New Issue
Block a user
Delete Branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The extension workflow signed v1.0.1 successfully but the commit step failed because AMO renames signed XPIs to use its internal addon-id-safe-string (
997017ca3e104e30a75a-1.0.1.xpi), not the gecko ID we set inmanifest.json. The original globfabledcurator-*.xpinever matched.Fix: glob
*.xpiin the artifacts dir (fresh CI runner = one XPI per run), parse version fromextension/package.json, and copy under the canonicalfabledcurator-${VERSION}.xpiname so the backend's whitelist (backend/app/frontend.pymatchesfabledcurator-*.xpi) keeps working. Also wipes priorfabledcurator-*.xpifiles in the dir so it doesn't accumulate.Trigger after merge
The workflow's path filter is
extension/**, so this.forgejo/workflows/extension.ymlchange alone won't auto-trigger it. After merging:workflow_dispatchwired).v26.05.25.3pointing at the post-XPI HEAD.🤖 Generated with Claude Code