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 target commit and gate version bump steps
Julius Marmingeb297e20f4e6e
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 45e6b989a..2ac0bf32d 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -257,6 +257,7 @@ jobs:uses: softprops/action-gh-release@v2with:tag_name: ${{ needs.preflight.outputs.tag }}+ target_commitish: ${{ needs.preflight.outputs.ref }}name: T3 Code v${{ needs.preflight.outputs.version }}generate_release_notes: truemake_latest: true@@ -290,12 +291,13 @@ jobs:with:node-version-file: package.json- - name: Update version strings+ - id: update_versions+ name: Update version stringsenv:RELEASE_VERSION: ${{ needs.preflight.outputs.version }}run: |node --input-type=module -e '- import { readFileSync, writeFileSync } from "node:fs";+ import { appendFileSync, readFileSync, writeFileSync } from "node:fs";const files = ["apps/server/package.json",@@ -317,15 +319,20 @@ jobs:if (!changed) {console.log("All package.json versions already match release version.");}++ appendFileSync(process.env.GITHUB_OUTPUT, `changed=${changed}\n`);'- name: Format package.json files+ if: steps.update_versions.outputs.changed == 'true'run: bunx oxfmt apps/server/package.json apps/desktop/package.json apps/web/package.json packages/contracts/package.json- name: Refresh lockfile+ if: steps.update_versions.outputs.changed == 'true'run: bun install- name: Commit and push version bump+ if: steps.update_versions.outputs.changed == 'true'shell: bashenv:RELEASE_TAG: ${{ needs.preflight.outputs.tag }}