27 lines
922 B
Markdown
27 lines
922 B
Markdown
# 版本记录与回滚(桌面版)
|
||
|
||
> 2026-11-24 重写。历史网页版 Pages/测试站记录已归档:
|
||
> [`docs/archive/history/RELEASES-legacy-web.md`](archive/history/RELEASES-legacy-web.md)。
|
||
|
||
## 版本记录
|
||
|
||
- 发布条目:`CHANGELOG.md`(每个 `## vX.Y.Z` 对应一个 tag)
|
||
- 当前版本:`node -e "console.log(require('./package.json').version)"`
|
||
- 产物与更新源:`https://download.maqiart.eu.org/updates/latest.json`
|
||
|
||
## 回滚(mac)
|
||
|
||
```bash
|
||
git checkout vX.Y.Z # 回到目标版本提交
|
||
npm ci
|
||
bash scripts/publish-update.sh # 重新构建并把 latest.json 指回该版本
|
||
```
|
||
|
||
## 回滚(Windows)
|
||
|
||
1. Windows 端 `git checkout vX.Y.Z` 后重新构建 setup.exe
|
||
2. 放 NAS `_inbox/`,mac 端 `publish-windows-update.sh` 重签
|
||
3. 再跑 `publish-update.sh` 合并 latest.json
|
||
|
||
桌面发布规范:[`docs/WIN_BUILD_SPEC.md`](WIN_BUILD_SPEC.md);工程规则 §13.60。
|