feat: install and update through the Geek2API mirror (0.1.2)

Every entry point serves /dsh/latest.json and the release tarballs, synced
from GitHub; the version check asks the mirror first through the endpoint
pool and installs the mirrored tarball, with GitHub as the fallback.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
大阔andClaude Opus 5.5 committed 2026-10-15 01:50:33 +08:00
1 parent f4f4ce55b3
commit 1379421095
9 files changed
+171 -18

No files matched your search

+1 -1
View File
@@ -71,6 +71,6 @@ Never reuse, move, or delete a published tag or release asset. If a released ver
git push origin v<version>
```
[`.github/workflows/release.yml`](.github/workflows/release.yml) refuses a tag that does not match `package.json`, runs `pnpm run check`, refuses a stale `lib/`, and creates the release with `dsh-geek2api-<version>.tgz` attached. The plugin's update check reads `releases/latest` and installs that asset.
[`.github/workflows/release.yml`](.github/workflows/release.yml) refuses a tag that does not match `package.json`, runs `pnpm run check`, refuses a stale `lib/`, and creates the release with `dsh-geek2api-<version>.tgz` attached. Every Geek2API entry point mirrors the release at `/dsh/` within about 10 minutes (origin timer `dsh-mirror-sync`); the plugin's update check reads the mirror's `latest.json` first and GitHub `releases/latest` as the fallback.
5. Confirm the workflow succeeded and the asset is attached before announcing the release.