From 28b4e14ec7276451f7be313588a161a1b2acc787 Mon Sep 17 00:00:00 2001 From: hyperbola Date: Thu, 26 Sep 2024 23:57:08 +0800 Subject: [PATCH] docs: note the glob pattern must match exactly one file --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 635ac80..98c2954 100644 --- a/README.md +++ b/README.md @@ -25,12 +25,14 @@ Followings items are required before publishing an add-on: - `jwt-issuer`: (required) your jwt issuer. - `jwt-secret`: (required) your jwt secret. - `xpi-path`: (required) path (or a glob pattern) to the xpi (zip) file of your add-on generated in - the previous workflow steps; must end with either `.zip`, `.xpi`, or `.crx`. + the previous workflow steps; must end with either `.zip`, `.xpi`, or `.crx`; if glob pattern then + it must match exactly one file. - `approval-notes`: (optional): a secret text to Mozilla reviewers. - `license`: (optional) add-on's [license slug](https://addons-server.readthedocs.io/en/latest/topics/api/licenses.html#license-choices-non-themes). - `self-hosted` (optional) whether the add-on should be self-hosted; default `false`. - `source-file-path` (optional) path (or a glob pattern) to source code archive; must end with - either `.zip`, `.tar.gz`, `.tgz` or `.tar.bz2` + either `.zip`, `.tar.gz`, `.tgz` or `.tar.bz2`; if glob pattern then it must match exactly one + file. Example workflow: