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.

Run checks before release commit and set desktop buildVersion

Julius Marmingefa0205cba3f2
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index fc65b22da..af684694d 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -84,6 +84,18 @@ jobs:
if: github.event_name == 'workflow_dispatch'
run: bun install
+ - name: Install dependencies
+ run: bun install --frozen-lockfile
+
+ - name: Lint
+ run: bun run lint
+
+ - name: Typecheck
+ run: bun run typecheck
+
+ - name: Test
+ run: bun run test
+
- name: Commit and push release version + tag
if: github.event_name == 'workflow_dispatch'
shell: bash
@@ -117,18 +129,6 @@ jobs:
echo "value=${GITHUB_SHA}" >> "$GITHUB_OUTPUT"
fi
- - name: Install dependencies
- run: bun install --frozen-lockfile
-
- - name: Lint
- run: bun run lint
-
- - name: Typecheck
- run: bun run typecheck
-
- - name: Test
- run: bun run test
-
build:
name: Build ${{ matrix.label }}
needs: preflight
diff --git a/scripts/build-desktop-artifact.ts b/scripts/build-desktop-artifact.ts
index 1413e2a82..48f6c5f3a 100644
--- a/scripts/build-desktop-artifact.ts
+++ b/scripts/build-desktop-artifact.ts
@@ -99,6 +99,7 @@ interface ResolvedBuildOptions {
interface StagePackageJson {
readonly name: string;
readonly version: string;
+ readonly buildVersion: string;
readonly private: true;
readonly description: string;
readonly author: string;
@@ -488,6 +489,7 @@ const buildDesktopArtifact = Effect.fn(function* (options: ResolvedBuildOptions)
const stagePackageJson: StagePackageJson = {
name: "t3-code-desktop",
version: appVersion,
+ buildVersion: appVersion,
private: true,
description: "T3 Code desktop build",
author: "T3 Tools",