Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

publish cli?

Julius Marminge3c121585da33
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index d6ae47c49..209c6ace9 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -247,45 +247,33 @@ jobs:
path: release/*
if-no-files-found: error
- # publish_cli:
- # name: Publish CLI to npm
- # needs: [preflight, build]
- # runs-on: ubuntu-24.04
- # steps:
- # - name: Checkout
- # uses: actions/checkout@v4
-
- # - name: Setup Bun
- # uses: oven-sh/setup-bun@v2
- # with:
- # bun-version-file: package.json
-
- # - name: Setup Node
- # uses: actions/setup-node@v4
- # with:
- # node-version-file: package.json
- # registry-url: https://registry.npmjs.org
-
- # - name: Install dependencies
- # run: bun install --frozen-lockfile
-
- # - name: Set CLI package version from release tag
- # env:
- # RELEASE_VERSION: ${{ needs.preflight.outputs.version }}
- # run: |
- # node --input-type=module -e '
- # import { readFileSync, writeFileSync } from "node:fs";
- # const packagePath = "apps/server/package.json";
- # const packageJson = JSON.parse(readFileSync(packagePath, "utf8"));
- # packageJson.version = process.env.RELEASE_VERSION;
- # writeFileSync(packagePath, `${JSON.stringify(packageJson, null, 2)}\n`);
- # '
-
- # - name: Build CLI package
- # run: bun run build --filter=@t3tools/web --filter=t3
-
- # - name: Publish CLI package
- # run: bun --cwd apps/server publish --access public
+ publish_cli:
+ name: Publish CLI to npm
+ needs: [preflight, build]
+ runs-on: ubuntu-24.04
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+
+ - name: Setup Bun
+ uses: oven-sh/setup-bun@v2
+ with:
+ bun-version-file: package.json
+
+ - name: Setup Node
+ uses: actions/setup-node@v4
+ with:
+ node-version-file: package.json
+ registry-url: https://registry.npmjs.org
+
+ - name: Install dependencies
+ run: bun install --frozen-lockfile
+
+ - name: Build CLI package
+ run: bun run build --filter=@t3tools/web --filter=t3
+
+ - name: Publish CLI package
+ run: bun --cwd apps/server publish --access public --tag alpha
release:
name: Publish GitHub Release