The best way to control Claude Code, Codex and more from any computer or phone
publish cli?
Julius Marminge committed
Mar 2, 2026 at 22:42 UTC
3c121585da3306491c9d12ad5f94d2e661e2fc33
1 file changed
+27
-39
.github/workflows/release.yml
+27
-39
@@ -247,45 +247,33 @@ jobs:
247
path: release/*
248
if-no-files-found: error
249
250
- # publish_cli:
251
- # name: Publish CLI to npm
252
- # needs: [preflight, build]
253
- # runs-on: ubuntu-24.04
254
- # steps:
255
- # - name: Checkout
256
- # uses: actions/checkout@v4
257
-
258
- # - name: Setup Bun
259
- # uses: oven-sh/setup-bun@v2
260
- # with:
261
- # bun-version-file: package.json
262
-
263
- # - name: Setup Node
264
- # uses: actions/setup-node@v4
265
- # with:
266
- # node-version-file: package.json
267
- # registry-url: https://registry.npmjs.org
268
-
269
- # - name: Install dependencies
270
- # run: bun install --frozen-lockfile
271
-
272
- # - name: Set CLI package version from release tag
273
- # env:
274
- # RELEASE_VERSION: ${{ needs.preflight.outputs.version }}
275
- # run: |
276
- # node --input-type=module -e '
277
- # import { readFileSync, writeFileSync } from "node:fs";
278
- # const packagePath = "apps/server/package.json";
279
- # const packageJson = JSON.parse(readFileSync(packagePath, "utf8"));
280
- # packageJson.version = process.env.RELEASE_VERSION;
281
- # writeFileSync(packagePath, `${JSON.stringify(packageJson, null, 2)}\n`);
282
- # '
283
-
284
- # - name: Build CLI package
285
- # run: bun run build --filter=@t3tools/web --filter=t3
286
-
287
- # - name: Publish CLI package
288
- # run: bun --cwd apps/server publish --access public
250
+ publish_cli:
251
+ name: Publish CLI to npm
252
+ needs: [preflight, build]
253
+ runs-on: ubuntu-24.04
254
+ steps:
255
+ - name: Checkout
256
+ uses: actions/checkout@v4
257
+
258
+ - name: Setup Bun
259
+ uses: oven-sh/setup-bun@v2
260
+ with:
261
+ bun-version-file: package.json
262
+
263
+ - name: Setup Node
264
+ uses: actions/setup-node@v4
265
+ with:
266
+ node-version-file: package.json
267
+ registry-url: https://registry.npmjs.org
268
+
269
+ - name: Install dependencies
270
+ run: bun install --frozen-lockfile
271
+
272
+ - name: Build CLI package
273
+ run: bun run build --filter=@t3tools/web --filter=t3
274
+
275
+ - name: Publish CLI package
276
+ run: bun --cwd apps/server publish --access public --tag alpha
277
278
release:
279
name: Publish GitHub Release