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

[Mobile] 移动端版本号与桌面端同步 #236

Closed
Cronyet opened this issue Mar 7, 2023 · 4 comments
Closed

[Mobile] 移动端版本号与桌面端同步 #236

Cronyet opened this issue Mar 7, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request fixed This problem has been fixed

Comments

@Cronyet
Copy link
Member

Cronyet commented Mar 7, 2023

🪦 Is your feature request related to a problem? Please describe.

桌面端以及一些其它组件的版本号形如: v3.23.04.xxx
通过 KitX Dashboard.csproj 文件了解到, 版本号的规则如下:

Main.Year.Month.Build

其中 Main 版本号为 3, Year 版本号为发布年份, Month 版本号为发布月份
Build 版本号满足规则: $([System.DateTime]::UtcNow.Date.Subtract($([System.DateTime]::Parse("2005-06-06"))).TotalDays)
即当前 UTC 日期距离 2005.06.06 的总共天数, 该版本号直到 2184.11.09 才失效 (即达到 65535, 次日溢出, 若再 % 65535 则绝无可能失效)
这样一来没过一天, Build 版本号自增 1, 可以较好地满足当前的需求, 即使未来出现重大发布事故, 第二天即可发布版本号已更新的版本

此 issue 敦促移动端尽快同步该版本规则, 这样发布 Release 时才好标记 tag

🪧 Describe the solution you'd like

No response

🧾 Describe alternatives you've considered

No response

📎 Additional context

No response

@Cronyet Cronyet added enhancement New feature or request help wanted Extra attention is needed labels Mar 7, 2023
@Cronyeter
Copy link
Member

赞同

Tracked by #224 .

@Cranyozen
Copy link
Contributor

唔, 由于移动端和桌面端的开发路线不同, 这个提议还需要考虑考虑

@Cronyet
Copy link
Member Author

Cronyet commented Mar 7, 2023

那 KitX 的 Release 的 tag 怎么打, 这是个问题

@Cranyozen
Copy link
Contributor

那 KitX 的 Release 的 tag 怎么打, 这是个问题

答案是:分开打

@Dynesshely Dynesshely added tracking This issue is tracking by another issue and removed help wanted Extra attention is needed labels Mar 8, 2023
@Cronyet Cronyet added fixed This problem has been fixed and removed tracking This issue is tracking by another issue labels Mar 12, 2023
@Dynesshely Dynesshely changed the title 移动端版本号与桌面端同步 [Mobile] 移动端版本号与桌面端同步 Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fixed This problem has been fixed
Projects
None yet
Development

No branches or pull requests

4 participants