bc6a5f28d9
* feat: cli launcher * feat: improved debug
1.6 KiB
1.6 KiB
Releases
This repo ships two things:
- Kandev runtime bundles (backend + web) published to GitHub Releases.
- NPX launcher (
kandevon npm) that downloads and runs those bundles.
Packaging the web bundle
The release workflow calls:
scripts/release/package-web.sh
It packages the Next.js standalone output into dist/web/, which is then bundled into each platform ZIP.
Release flow (runtime bundles)
- Pick a version tag:
git tag v0.1.0
git push origin v0.1.0
Or use the helper script (creates and pushes the tag):
scripts/release/publish-release.sh 0.1.0
- GitHub Actions will:
- Build the web app in standalone mode.
- Build
kandev+agentctlbinaries for each platform. - Package and upload
kandev-<platform>.zipand.sha256to the release.
Publish the NPX launcher
The launcher package lives at apps/cli and is published as kandev.
cd apps/cli
pnpm build
npm publish --access public
Or use the helper script:
scripts/release/publish-launcher.sh 0.1.0
Releasing a new Kandev version
- Update versions:
- Bump
apps/cli/package.json(npm package version). - The
publish-release.shscript will error if this doesn't match the tag.
- Bump
- Tag and push the release (
vX.Y.Z). - Publish the launcher to npm (same version or higher).
- Verify:
npx kandev@latestdownloads the new release bundle.npx kandevprompts to update if an older launcher is installed.
Notes
- Release assets are downloaded to
~/.kandev/bin/<version>/<platform>/. - Local data is stored under
~/.kandev/data/.