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.

fix(release): ship desktop apps without CLI (#114)

Leo4cf910aeb1e1
diff --git a/.depot/workflows/release.yml b/.depot/workflows/release.yml
index d9a08e71b..b84efa3f7 100644
--- a/.depot/workflows/release.yml
+++ b/.depot/workflows/release.yml
@@ -228,37 +228,9 @@ jobs:
if-no-files-found: error
retention-days: 7
- cli:
- name: Akeru CLI package
- needs: preflight
- runs-on: depot-ubuntu-24.04-8
- timeout-minutes: 20
- env:
- RELEASE_VERSION: ${{ needs.preflight.outputs.version }}
- steps:
- - uses: actions/checkout@v6
- - uses: voidzero-dev/setup-vp@v1
- with:
- node-version-file: package.json
- cache: true
- run-install: true
- - name: Build and check CLI
- run: |
- vp run --filter akeru-bot build
- node apps/server/scripts/cli.ts publish --dry-run --app-version "$RELEASE_VERSION" --verbose
- mkdir -p release
- vp pm pack --filter akeru-bot --pack-destination release
- test -f "release/akeru-bot-$RELEASE_VERSION.tgz"
- - uses: actions/upload-artifact@v7
- with:
- name: stable-cli
- path: release/akeru-bot-${{ env.RELEASE_VERSION }}.tgz
- if-no-files-found: error
- retention-days: 7
-
release:
name: Publish stable release
- needs: [preflight, desktop, cli]
+ needs: [preflight, desktop]
runs-on: depot-ubuntu-24.04-8
timeout-minutes: 15
env:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index eef877761..8ff9ad2a0 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -227,37 +227,9 @@ jobs:
if-no-files-found: error
retention-days: 7
- cli:
- name: Akeru CLI package
- needs: preflight
- runs-on: ubuntu-24.04
- timeout-minutes: 20
- env:
- RELEASE_VERSION: ${{ needs.preflight.outputs.version }}
- steps:
- - uses: actions/checkout@v6
- - uses: voidzero-dev/setup-vp@v1
- with:
- node-version-file: package.json
- cache: true
- run-install: true
- - name: Build and check CLI
- run: |
- vp run --filter akeru-bot build
- node apps/server/scripts/cli.ts publish --dry-run --app-version "$RELEASE_VERSION" --verbose
- mkdir -p release
- vp pm pack --filter akeru-bot --pack-destination release
- test -f "release/akeru-bot-$RELEASE_VERSION.tgz"
- - uses: actions/upload-artifact@v7
- with:
- name: stable-cli
- path: release/akeru-bot-${{ env.RELEASE_VERSION }}.tgz
- if-no-files-found: error
- retention-days: 7
-
release:
name: Publish stable release
- needs: [preflight, desktop, cli]
+ needs: [preflight, desktop]
runs-on: ubuntu-24.04
timeout-minutes: 15
env:
diff --git a/scripts/release-smoke.ts b/scripts/release-smoke.ts
index deab735fe..7362a787c 100644
--- a/scripts/release-smoke.ts
+++ b/scripts/release-smoke.ts
@@ -92,7 +92,7 @@ for (const [needle, label] of [
for (const [needle, label] of [
["branches: [main]", "main branch trigger"],
- ["needs: [preflight, desktop, cli]", "build gates"],
+ ["needs: [preflight, desktop]", "build gates"],
["label: macOS arm64 DMG", "macOS arm64 DMG"],
["label: Windows x64 NSIS", "Windows x64 NSIS"],
["label: Linux x64 AppImage", "Linux x64 AppImage"],
@@ -102,9 +102,6 @@ for (const [needle, label] of [
["Signing credentials must be either complete or absent.", "unsigned signing fallback"],
["--signed", "existing signed build path"],
["xcrun notarytool submit", "macOS notarization"],
- ["vp run --filter akeru-bot build", "CLI build"],
- ["--dry-run", "CLI package check"],
- ['test -f "release/akeru-bot-$RELEASE_VERSION.tgz"', "exact CLI package asset check"],
["verify-release-assets.ts", "asset name and hash verification"],
["gh release create", "stable GitHub Release"],
] as const) {
diff --git a/scripts/verify-release-assets.ts b/scripts/verify-release-assets.ts
index b61f451d5..a7c46be4d 100644
--- a/scripts/verify-release-assets.ts
+++ b/scripts/verify-release-assets.ts
@@ -15,7 +15,6 @@ export function expectedReleaseAssetNames(version: string): readonly string[] {
"latest-mac.yml",
"latest.yml",
"latest-linux.yml",
- `akeru-bot-${version}.tgz`,
];
}