Skip to content

docs: 版本号是验证快照,不是提交计数器 - #45

Merged
huxc573 merged 1 commit into
mainfrom
version-discipline
Oct 25, 2026
Merged

huxc573 merged 1 commit into
mainfrom
version-discipline

Conversation

@huxc573

@huxc573 huxc573 commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

把这两小时踩的写进 docs/RELEASING.md:

  • 没验证通过不升版本:0.3.15 还没被看过,我就把它变成了 0.3.16 —— 两个 draft,谁都不知道该验哪个。
  • 重打同一个 tag:未 publish 的 draft 可以重指、资产覆盖;publish 之后冻结。
  • 改动走 PR:刚才有两次直接 push 到 main(bypass),第二个人没法照着做。
  • 本地先出包:脚本/local-release.py 两分钟出 win64 + APK,验证不该等 CI。

同时把版本号回退到 0.3.15,0.3.16 的说明并进 docs/releases/v0.3.15.md。

The last two hours went the other way: a fix became 0.3.16 before 0.3.15 had been
looked at, and two pushes went straight to main past the rule that says changes arrive
through a pull request. Neither is a thing a second person could follow.

Written down instead: the version only moves after a build has been verified, a
re-release of an unpublished draft re-points the same tag, a published release is
frozen, and the local release script is the fast path for looking at something.
@huxc573
huxc573 merged commit 96b3df3 into main Oct 25, 2026
3 checks passed
@huxc573
huxc573 deleted the version-discipline branch October 25, 2026 10:05
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