chore(release): set add-on ID and update URL for self-hosting at add-ons.jordanwages.com

This commit is contained in:
Jordan Wages 2025-08-22 02:32:25 -05:00
commit 4708a97829
3 changed files with 6 additions and 7 deletions

View file

@ -133,7 +133,7 @@ This project is not affiliated with archive.org or aria2. Use responsibly and re
## Release Workflow
- Stable ID: set a permanent add-on ID in `manifest.json` at `applications.gecko.id` (replace the `@example` value with your ID). If you self-host updates, set `applications.gecko.update_url` to your `updates.json` URL.
- Stable ID: using `applications.gecko.id = "archive-org-link-grabber@jordanwages.com"`. If you self-host updates, `applications.gecko.update_url` points to `https://add-ons.jordanwages.com/archive-org-link-grabber/updates.json`.
- Prepare (version bump + sync):
- Patch: `npm run release:prepare:patch`
- Minor: `npm run release:prepare:minor`
@ -144,6 +144,6 @@ This project is not affiliated with archive.org or aria2. Use responsibly and re
- Set environment secrets locally (do not commit): `AMO_JWT_ISSUER=... AMO_JWT_SECRET=...`
- Run: `npm run release:sign`
- Artifacts land in `releases/<version>/`
- Self-hosted updates: copy `releases/updates.example.json` to `releases/updates.json` and update with the new version and `update_link` pointing to your hosted `.xpi`.
- Self-hosted updates: `releases/updates.json` is tracked; update with the new version and `update_link` like `https://add-ons.jordanwages.com/archive-org-link-grabber/releases/<version>/archive-org-link-grabber-<version>.xpi`.
Notes: Keep AMO secrets local. CI is optional. You can tag releases with `git tag vX.Y.Z` and push tags if desired.