diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fa9dad3..160e62d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -181,6 +181,7 @@ jobs: --artifacts-dir dist/firefox-signed \ --api-key "$AMO_JWT_ISSUER" \ --api-secret "$AMO_JWT_SECRET" \ + --amo-metadata amo-metadata.json \ --channel listed \ --approval-timeout 900000 \ --no-input diff --git a/AGENT.md b/AGENT.md index 432db3b..fa19a02 100644 --- a/AGENT.md +++ b/AGENT.md @@ -30,6 +30,7 @@ This repository contains the Firefox WebExtension **Proxy Switcher Fork By WT**. - Never hand-edit or retain stale `META-INF` signatures after changing files. Build artifacts must be signed again before distribution. - Do not commit generated `web-ext-artifacts/` packages unless explicitly requested. - Keep publishing credentials only in GitHub Secrets. The release workflow expects AMO JWT credentials and Chrome Web Store OAuth credentials. +- Keep `amo-metadata.json` valid for AMO listed submissions; update its license text when the project's distribution license changes. - Missing or incomplete store credentials must skip only that store's deployment. Keep package builds, release assets, and workflow artifacts available without store credentials. ## Validation diff --git a/README.md b/README.md index e63634f..6e084a5 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,8 @@ Each store is optional: deployment runs only when its full set of credentials is The stores must already contain their initial listings and required privacy information. Store review still applies; the workflow submits the update and does not bypass review. Never commit any of these credentials. +The Firefox workflow passes [`amo-metadata.json`](amo-metadata.json) to AMO. It contains the required custom license, category, and listing summary for a listed submission. Update the copyright/license text if the project is distributed under a different license. + To remove generated packages: ```sh diff --git a/amo-metadata.json b/amo-metadata.json new file mode 100644 index 0000000..b270163 --- /dev/null +++ b/amo-metadata.json @@ -0,0 +1,11 @@ +{ + "version": { + "custom_license": "Copyright (c) 2026 WT. All rights reserved." + }, + "categories": { + "firefox": ["other"] + }, + "summary": { + "en-US": "Route selected domains through HTTP or SOCKS5 proxy servers." + } +}