chore(release): set add-on ID and update URL for self-hosting at add-ons.jordanwages.com
This commit is contained in:
parent
1c1f51a8b9
commit
4708a97829
3 changed files with 6 additions and 7 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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": {
|
||||
|
|
|
|||
|
|
@ -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" } }
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue