diff --git a/README.md b/README.md index 70ce090..cd63a7f 100644 --- a/README.md +++ b/README.md @@ -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//` -- 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//archive-org-link-grabber-.xpi`. Notes: Keep AMO secrets local. CI is optional. You can tag releases with `git tag vX.Y.Z` and push tags if desired. diff --git a/manifest.json b/manifest.json index 65e3ac6..26327a8 100644 --- a/manifest.json +++ b/manifest.json @@ -5,8 +5,8 @@ "description": "Filter and export archive.org /download links; copy or send to aria2 RPC.", "applications": { "gecko": { - "id": "archive-org-link-grabber@example", - "update_url": "https://example.com/updates.json" + "id": "archive-org-link-grabber@jordanwages.com", + "update_url": "https://add-ons.jordanwages.com/archive-org-link-grabber/updates.json" } }, "browser_action": { diff --git a/releases/updates.json b/releases/updates.json index d3ec19c..5c5c125 100644 --- a/releases/updates.json +++ b/releases/updates.json @@ -1,14 +1,13 @@ { "addons": { - "archive-org-link-grabber@example": { + "archive-org-link-grabber@jordanwages.com": { "updates": [ { "version": "0.1.0", - "update_link": "https://example.com/releases/0.1.0/archive-org-link-grabber-0.1.0.xpi", + "update_link": "https://add-ons.jordanwages.com/archive-org-link-grabber/releases/0.1.0/archive-org-link-grabber-0.1.0.xpi", "applications": { "gecko": { "strict_min_version": "91.0" } } } ] } } } -