Replies: 2 comments 7 replies
-
对于没有发布过得包,默认约定按日期来,用户即使不知道 commit ,也能大概知道版本的大概日期,也方便根据日期时间做版本选择, ">= 2021.01"。。 如果只是对已有 version list ,加额外的 commit 的特殊修订版本,最好还是按更加可读的 name 来标识,修复的特性,例如 v1.1.0-feature 让用户看一眼版本就能知道,这个特殊版本,带了什么修复。。没必要加 commit 进去,不可读,选择版本时候,用户还得去反查 可以参考 imgui 的特殊版本命名。 xmake-repo/packages/i/imgui/xmake.lua Lines 9 to 16 in 4367726 |
Beta Was this translation helpful? Give feedback.
-
Wondering whether we could use this also for |
Beta Was this translation helpful? Give feedback.
-
As discussed in #1102, we need to use pre-release commit for some packages.
Do we have convention on version names for pre-release commit?
Let's use
rapidjson
for example, the latest release is in 2016 but has many more commits after that release. I'm currently using a version namev1.10.0-arrow
. This won't affect the default version user will get, but this name is for specific use of apache arrow.I suggest appending a short commit id as suffix for virtual version. For example:
For packages that has never made a release, seems like we are currently using the date for the commit.
Beta Was this translation helpful? Give feedback.
All reactions