diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fc65b22da5a2e34f42b514686364d8b77bc57450..af684694d9dbd0b3fa8e6bceebcc212af32ff4f1 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 1413e2a820ca7660908da00b4abe1f808ab8387c..48f6c5f3a6a0744bf518879fe1431a2072c83ab2 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",