Skip to content

Temporary Windows Beta Packaging for PR Combo / 临时 Windows 内测打包#4

Open
SivanCola wants to merge 3 commits into
codex/pr-combo-mac-betafrom
codex/pr-combo-win-package
Open

Temporary Windows Beta Packaging for PR Combo / 临时 Windows 内测打包#4
SivanCola wants to merge 3 commits into
codex/pr-combo-mac-betafrom
codex/pr-combo-win-package

Conversation

@SivanCola

Copy link
Copy Markdown
Owner

Summary

This PR adds a temporary Windows-only beta packaging path for the PR-combo test build. It is intended to unblock Windows internal testing quickly, and the generated Windows installer is recommended for testers who need this PR-combo build now.

Published Windows beta release:
https://github.com/SivanCola/DeepSeek-Reasonix/releases/tag/desktop-v0.52.3

Recommended artifact:

  • Reasonix_0.52.3_x64-setup.exe (NSIS installer)
    • SHA256: 8a49df738d3c0c035597b4ab9be4261d627509b623dc5c7893aa3d87ccd7f389

Alternative artifact:

  • Reasonix_0.52.3_x64_en-US.msi (MSI installer)
    • SHA256: 150979958b83cd2951bd37d8ccf04fa49eb789a77de560388a7506ca3217ae32

Root Cause

The normal desktop release workflow is a full cross-platform matrix and expects updater signing material when updater artifacts are enabled. For this temporary unsigned Windows beta, Tauri successfully produced the Windows .msi and .exe, but the job failed afterward when updater artifact signing tried to run without TAURI_SIGNING_PRIVATE_KEY.

Technical Approach

This PR narrows the packaging workflow to Windows x64 for the beta branch, runs tauri build directly, and disables updater artifact generation for this unsigned test package. It then uploads the generated .exe and .msi both as GitHub Actions artifacts and as assets on a draft/prerelease GitHub Release.

Focused Optimization Points

  • Keep the temporary workflow scoped to Windows x64 so the beta package is not blocked by unrelated Linux/macOS packaging failures.
  • Avoid passing empty signing secrets into Tauri for unsigned internal builds.
  • Disable updater artifacts only for the temporary unsigned Windows beta path.
  • Publish both NSIS .exe and MSI installers, with the .exe recommended for ordinary testers.

Verification

  • npm run verify passed locally during push of codex/pr-combo-mac-beta.
  • GitHub Actions run 26675041303 passed on codex/pr-combo-win-package.
  • Release desktop-v0.52.3 is published as a prerelease and contains both Windows x64 assets.

中文说明

这个 PR 增加了一个临时的 Windows-only 内测打包路径,用来快速解决本次 PR 组合版本的 Windows 内测分发问题。它是临时测试方案,不建议作为长期 release workflow 形态;但对于当前内测,建议 Windows 用户优先使用已经发布的安装包。

Windows 内测包发布地址:
https://github.com/SivanCola/DeepSeek-Reasonix/releases/tag/desktop-v0.52.3

建议使用:

  • Reasonix_0.52.3_x64-setup.exe(NSIS 安装包)
    • SHA256: 8a49df738d3c0c035597b4ab9be4261d627509b623dc5c7893aa3d87ccd7f389

备用:

  • Reasonix_0.52.3_x64_en-US.msi(MSI 安装包)
    • SHA256: 150979958b83cd2951bd37d8ccf04fa49eb789a77de560388a7506ca3217ae32

问题原因

常规 desktop release workflow 是跨平台矩阵,并且在开启 updater artifacts 时会要求 updater 签名密钥。本次 Windows unsigned 内测包中,Tauri 已经成功生成 .msi.exe,但后续 updater artifact 签名阶段因为没有 TAURI_SIGNING_PRIVATE_KEY 而失败。

技术方案

本 PR 将该临时 workflow 收敛为 Windows x64,只直接执行 tauri build,并在 unsigned 测试包路径里临时关闭 updater artifact 生成。打包完成后同时上传 GitHub Actions artifact 和 GitHub prerelease asset。

本次集中优化点

  • 临时只跑 Windows x64,避免 Linux/macOS packaging 问题阻塞 Windows 内测包。
  • 不再把空签名 secret 传入 Tauri unsigned build。
  • 只在临时 unsigned Windows beta 路径关闭 updater artifacts。
  • 同时提供 .exe.msi,普通内测用户建议优先使用 .exe

验证

  • npm run verify 已在推送 codex/pr-combo-mac-beta 时本地通过。
  • GitHub Actions run 26675041303 已在 codex/pr-combo-win-package 通过。
  • desktop-v0.52.3 prerelease 已发布,并包含 Windows x64 安装包。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant