Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新的版本号策略 #92

Closed
MrXiaoM opened this issue Sep 2, 2024 · 1 comment
Closed

新的版本号策略 #92

MrXiaoM opened this issue Sep 2, 2024 · 1 comment
Labels
feature 新功能请求

Comments

@MrXiaoM
Copy link
Owner

MrXiaoM commented Sep 2, 2024

由于 mirai 可能不再更新,以及一些其他原因,我打算更改版本号策略,主要变更如下

  • 将发布到仓库的根包名从 top.mrxiaom 改为 top.mrxiaom.mirai
  • 为大约今年11月或12月发布正式版做好准备工作
  • mirai-core-api 有着较好的 ABI 兼容性,所以不再在版本号中包含 mirai 版本
  • 试图解决 snapshots仓库配置错误 #88

新的版本号策略如下,变更完成后,这份 issue 将被关闭。
在 Overflow 正式发布 1.0.0 版本后

  • 本 issue 将取消置顶
  • SNAPSHOT 仓库中的包 top.mrxiaom:onebot, top.mrxiaom:overflow-core-api, top.mrxiaom:overflow-core, top.mrxiaom:overflow-core-all 将被删除

开发版/快照版的版本号

major.minor.patch.commits-shortHash-SNAPSHOT

88092ce 示例:0.9.9.484-88092ce-SNAPSHOT

在正式发布前,暂定版本号为 0.9.9,正式发布后为 1.0.0

发布版的版本号

major.minor.patch

示例:1.0.0

解释

  • major 是主要版本号。
  • minor 是次要版本号。
  • patch 是修补版本号。
  • -SNAPSHOT 结尾是快照版本的固定格式。

以上为常规版本号内容

  • commits 是 commit 数,可以确保版本越新,数字越高。
  • shortHash 是 commit hash 的缩短版本,取其前7位。
@MrXiaoM MrXiaoM added the feature 新功能请求 label Sep 2, 2024
@MrXiaoM MrXiaoM pinned this issue Sep 2, 2024
MrXiaoM added a commit that referenced this issue Sep 2, 2024
@MrXiaoM
Copy link
Owner Author

MrXiaoM commented Sep 2, 2024

已完成更新

@MrXiaoM MrXiaoM closed this as completed Sep 2, 2024
@MrXiaoM MrXiaoM unpinned this issue Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 新功能请求
Projects
None yet
Development

No branches or pull requests

1 participant