From caacd4ded1d52deccc54269796e2c5a1287b936c Mon Sep 17 00:00:00 2001 From: bk-agent-01 Date: Wed, 7 Oct 2026 08:05:20 +0000 Subject: [PATCH] fix(ci): BK desktop builds show their build version, not 0.0.45 The bundled web UI reads APP_VERSION from apps/web/package.json at build time, and bk-desktop-release.yml never stamped it, so every BK desktop app showed the committed version. Stamp the package versions before the DMG build, as upstream's release.yml does. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/bk-desktop-release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/bk-desktop-release.yml b/.github/workflows/bk-desktop-release.yml index ac7ab38fdaa46..e87ae504e682a 100644 --- a/.github/workflows/bk-desktop-release.yml +++ b/.github/workflows/bk-desktop-release.yml @@ -219,6 +219,13 @@ jobs: echo "version=$version" >> "$GITHUB_OUTPUT" echo "Stamping $version." + # The bundled web UI reads its version from apps/web/package.json at build + # time, so without this the app shows the committed version (0.0.45) instead + # of its build version. Upstream's release.yml stamps the same way. + - name: Stamp package versions + if: steps.existing.outputs.found != 'true' + run: node scripts/update-release-package-versions.ts "${{ steps.version.outputs.version }}" + - name: Build DMG if: steps.existing.outputs.found != 'true' run: |