Release the plugin SDK as a package file

pnpm release:sdk now packs runestone-plugin-sdk-<version>.tgz and sdk.json
into releases/plugin-sdk/<version>/. Plugins install the SDK from the URL
of that file on the RuneStone releases page. The script no longer uses a
clone of a separate SDK repository.

Installers, browser engine ZIPs, and SDK packages now share the RuneStone
releases page.
This commit is contained in:
Knotty Wyvern
2026-10-29 13:05:10 -07:00
parent 54ccea199e
commit a950edfb13
7 changed files with 276 additions and 276 deletions
+3 -3
View File
@@ -29,7 +29,7 @@ The [development guide](docs/development.md#architecture) maps the source folder
| `pnpm build:browser-engine --release-url <url> --version <version>` | Browser engine ZIP and its pin. See [Build the browser engine](docs/builds.md#build-the-browser-engine). |
| `pnpm package:plugin <compiled-folder> [output-folder]` | Plugin ZIP |
| `pnpm sdk:build` | Build the plugin SDK in `packages/plugin-sdk/` |
| `pnpm release:sdk --version <version>` | Prepare an SDK release in the public SDK clone. It never pushes. See [SDK releases](docs/releases.md). |
| `pnpm release:sdk --release-url <url> --version <version>` | SDK package file and its record. It never uploads. See [SDK releases](docs/releases.md#sdk-releases). |
A source edit needs the checks that cover it. A prose-only change needs only the lint and a link check.
@@ -75,13 +75,13 @@ Rules from the owner:
- Versions use `zz.yy.xx`. A hotfix adds a lowercase letter suffix: `0.2.28a`, then `0.2.28b`.
- Keep the current version during source edits, fixes, documentation, and checks. Instruction-only edits never change it.
- Set the next version only when you produce a build: a RuneStone installer, a browser engine ZIP, or a plugin ZIP.
- Set the next version only when you produce a build: a RuneStone installer, a browser engine ZIP, an SDK package, or a plugin ZIP.
A regular build increases `xx` by one. A hotfix build increases only the suffix.
- If the build fails, restore the previous version fields. Failed attempts do not use up a version.
- Increase `yy` or `zz` only when the owner directs a release.
- Report a new version only after its artifact exists. Report the full artifact path.
- Completed builds go in `releases/`, outside Git. Never overwrite a release with different contents.
- Repository releases contain only installers, browser engine ZIPs, or plugin ZIPs, with an empty description.
- Repository releases contain only installers, browser engine ZIPs, SDK packages, or plugin ZIPs, with an empty description.
## Windows installer