Skip to content

A team of long-lived bots for DeepSeek Harness, with main bots, bot-to-bot messages and group chats.

Keep the release dry run's installers as workflow artifacts

Fei24116e286f8862a7
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index e09dd4cd..35c0274d 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -121,6 +121,15 @@ jobs:
- run: npm run dist
- name: Check the packaged app
run: node scripts/check-packed.mjs
+ - name: Keep the installer for real-device checks
+ if: github.event_name == 'workflow_dispatch'
+ uses: actions/upload-artifact@v4
+ with:
+ name: DeepSeek-Bot-win-x64
+ path: app/dist-pack/DeepSeek-Bot-*-win-x64.exe
+ retention-days: 7
+ if-no-files-found: error
+ compression-level: 0
- name: Attach the installer to the release
if: github.event_name == 'release'
@@ -155,6 +164,15 @@ jobs:
- run: npm run dist
- name: Check the packaged app
run: node scripts/check-packed.mjs
+ - name: Keep the dmg for real-device checks
+ if: github.event_name == 'workflow_dispatch'
+ uses: actions/upload-artifact@v4
+ with:
+ name: DeepSeek-Bot-mac-${{ matrix.arch }}
+ path: app/dist-pack/DeepSeek-Bot-*-mac-${{ matrix.arch }}.dmg
+ retention-days: 7
+ if-no-files-found: error
+ compression-level: 0
- name: Attach the dmg to the release
if: github.event_name == 'release'
env:
diff --git a/docs/dev/release-checklist.md b/docs/dev/release-checklist.md
index 975bffae..a821849b 100644
--- a/docs/dev/release-checklist.md
+++ b/docs/dev/release-checklist.md
@@ -10,6 +10,7 @@ CI 只跑单元测试和 Linux 上的测试台。窗口外框、输入法、高
- 官方的 DSH Desktop,版本和 README 里写的一致(现在是 `0.2.1-rc.2`)。只从 DeepSeek Harness 官方渠道下载。
- 要发的包:在 `ds-bot/` 里运行 `npm pack`,得到 `ds-bot-<版本>.tgz`。
- 桌面应用的安装包:在 `app/` 里运行 `npm run dist`,得到 `app/dist-pack/DeepSeek-Bot-<版本>-win-x64.exe`。`app/package.json` 和 `ds-bot/package.json` 的版本号要一样。
+- 也可以用发版工作流的试运行:在 GitHub 的 Actions 里选 Release → Run workflow,勾着 dry run 运行。跑完后在这次运行的页面下载 Windows 安装包和两个 DMG(保留 7 天)。它们和 Release 里的文件在同样的 runner 上、用同样的方法打包,不发布任何东西。
- 一个能用的模型(DeepSeek API key 或账号)。测试里要填的密钥都用**假值**。
- 想保留现有数据,先备份数据目录:Windows 是 `C:\Users\<用户名>\.dsh\`,macOS 是 `~/.dsh/`。最好用一台没有自己团队数据的机器或账户来测。