@mks2508/release-hub-sdk
v0.6.0
Published
Thin TypeScript client for desktop apps: OTA update checks, license validation, and release publishing.
Readme
Release Hub SDK
Thin TypeScript client for desktop apps: OTA update checks, license validation, and release publishing.
CLI
The package ships the release-hub bin (built to dist/cli.js, bun shebang).
Installed from npm it works standalone:
npm i -g @mks2508/release-hub-sdk
release-hub --helpFrom the repo, bun run build emits dist/index.js + dist/cli.js (plus
.d.ts); bun run build:cli additionally compiles a single native binary
(dist/release-hub-darwin-arm64, macOS ARM64).
Usage
# Login (PKCE loopback, opens browser)
release-hub login --hub https://hub.example.com
# Publish a release
release-hub publish \
--project my-app \
--version 1.0.0 \
--target darwin \
--arch aarch64 \
--artifact ./dist/installer.dmg \
--sig ./dist/installer.dmg.sig
# Manage projects
release-hub project list
release-hub project create --name "My App" --slug my-app
release-hub project get --slug my-app
release-hub project update --slug my-app --description "New description"
release-hub project delete --slug my-app --yes
# Manage API keys
release-hub keys list --project my-app
release-hub keys create --project my-app --name "CI Key"
release-hub keys revoke --project my-app --name "CI Key"For full options, run release-hub --help or release-hub <command> --help.
