Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/desktop/src/test/resources/screenshots/windows/02-sync.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/desktop/src/test/resources/screenshots/windows/03-jobs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/desktop/src/test/resources/screenshots/windows/05-logs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions docs/RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,22 @@ If `Protocol.VERSION` changes:
meaningful again, and the downgrade path needs a real test.
- Both ends must be able to keep talking at the lower version, or the release notes
have to say plainly that they cannot.

## 版本与验证(2026-10-25 定)

**没通过验证的改动,不升版本号。** 版本号是「这一份包给川验证」的标签,不是每次提交的计数器。

| 阶段 | 做法 |
|---|---|
| 改一处、要给他看 | 版本号**不动**,改动累积在当前未通过的版本上 |
| 要重新出包 | 重打**同一个** tag;draft 未 publish 时允许,资产 `--clobber` 覆盖 |
| 他验证通过 | 才把版本号 +1,写 `docs/releases/v<新版本>.md`,打新 tag 出 draft |
| draft 已 publish | tag 与资产**冻结**,只能发下一版 |

重打 tag 只对未发布的 draft 有效。已 publish 的版本再重打,等于改历史:别人下载过的东西和仓库对不上。

**每条改动走 PR,不绕过规则。** `main` 上的 `Changes must be made through a pull request` 是给所有人(包括维护者)定的;`Repository admin` 的 bypass 只在修 CI 自身、且 PR 无法验证时用,用过就在提交信息里写一句为什么。

**本地先出包,再等 CI。** `脚本/local-release.py` 两分钟出 `发布/win64/`(含 APK),要验证的永远是这一份;CI 负责正式签名的 draft,不该成为验证的等待点。

**截图基线跟着版本号走。** 状态栏与设置页都画版本号,所以升版本会改动全部桌面基线:先 `CUBSYNC_SCREENSHOTS=update` 收基线,再提交。若是重打同一个版本(版本号没变),基线不该变——变了说明界面真的动了。
4 changes: 4 additions & 0 deletions docs/releases/v0.3.15.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

**USB-ADB 不再是"已留位"。** 插上数据线,在「连接方式」里就能看到设备并发起连接:电脑端用 `adb forward` 把设备端口映射到本机,之后走的是和局域网完全一样的连接。手机端那一行现在是纯展示 —— 转发在电脑上做,手机只需要保持共享开启。

**手机端「USB_ADB」这一行点了有回应。** 数据线变成通道,是在电脑上跑 `adb forward` 完成的;手机本来就在监听同一个端口,所以这一端没有可开关的东西 —— 点它会这么说,而不是没反应。

**协议协商**:没连上远端时,「远端版本」显示 `—`,不再显示 `0`(那个 0 读起来像协议之前的构建)。

#### 注意
Expand Down Expand Up @@ -42,6 +44,8 @@

**USB-ADB is no longer "reserved".** Plug in a cable and the device appears under 连接方式 and can be connected: the desktop runs `adb forward` to map the device's port onto this machine, and what follows is the same connection the local network uses. On the phone that row is a view rather than a switch — forwarding happens on the host, and the phone only has to keep sharing on.

**The phone's `USB_ADB` row answers.** The cable becomes a channel when the desktop runs `adb forward`; the phone is already listening on that same port, so there is nothing to switch on this end — tapping says so instead of doing nothing.

**Protocol negotiation**: with no peer, the remote version reads `—` instead of `0`, which looked like a build from before the protocol existed.

#### Notes
Expand Down
49 changes: 0 additions & 49 deletions docs/releases/v0.3.16.md

This file was deleted.

2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# The project version lives here so that build scripts, packaging and CI all read
# a single value. See docs/VERSIONING.md for the versioning policy.

cubsync.version=0.3.16
cubsync.version=0.3.15

org.gradle.jvmargs=-Xmx3g -XX:MaxMetaspaceSize=768m -Dfile.encoding=UTF-8
org.gradle.parallel=true
Expand Down
Loading